一、下载 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中文网其他相关文章!