Nginx 是另一種使用 C 語言寫成的 Web Server 軟體,主要還是支援 Unix-like 平台,網站也有 Windows 的 Binary 可以下載。目前 Windows 版本僅支援 Standalone 的方式,還未支援 Service 的方式來佈建 Web Server,換句話說,就是不會在 Windows 的「電腦管理>>服務與應用程式」中出現 Nginx 的服務設定。另外,Windows 版本也沒有將 SPDY 的 module 編譯到 Binary 裡面(可以在 Command Line 執行 ngnix -V查看編譯的 module),如此就無法在設定檔中設定 spdy 項目;有 SSL 的 module,但是產生 SSL 需要的 key 及 CA,對於初學者而言,不是那麼簡單、容易,底下的文章只是對 php + Admin + sqlite 的設定過程來說明: 下載 ngnix for windows 版本 ,預設是放在 Server\ngnix 目錄 到 Server\nginx 目錄下,執行 start nginx.exe (stop: nginx -s stop) 使用 Browser 開啟 localhost,應該可以看到 Welcome to ngnix 的網頁 下載 php for Windows , Adminer , Sqlite 軟體,解壓縮到 Server 目錄底下 修改 Servver\nginx\conf\nginx.conf 內容: 注意:要使用下列指令來 kill nginx.exe process taskkill /f /IM nginx.exe taskkill /f /IM php-cgi.exe install Server in Windows: httpd -k install -n "Survey Website" httpd -k uninstall -n "Survey Website" install MariaDB: copy data\my.ini to MariaDB root dir bin\mysqld --install MariaDB // DB name net star...