Nginx 配置过程
一、下载 Nginx
二、解压
三、配置
四、开启:
1
2
3
4
5
6
7
8
9
|
@ 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 |
五、关闭:
1
2
3
4
5
6
7
8
9
|
@ echo off @ echo Stopping PHP FastCGI... taskkill /F /IM php-cgi.exe > nul @ echo Stopping Nginx... taskkill /F /IM nginx.exe > nul @ echo success |
如有疑问请留言或者到本站社区交流讨论,感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
原文链接:https://my.oschina.net/520wsl/blog/1540758