一、下載nginx
二、解壓縮
三、設定
下載runhiddenconsole.exe 軟體
四、開啟:
@echo off @echo starting nginx ... runhiddenconsole nginx.exe @echo starting php-cgi ... runhiddenconsole d:/php-5.6.13-win32-vc11-x64/php-cgi.exe -b 127.0.0.1:9000 -c d:/php-5.6.13-win32-vc11-x64/php.ini exit pause
###
@echo off @echo stopping php fastcgi... taskkill /f /im php-cgi.exe > nul @echo stopping nginx... taskkill /f /im nginx.exe > nul @echo success
以上是Nginx設定過程實例分析的詳細內容。更多資訊請關注PHP中文網其他相關文章!