启动start.bat:
@echo off
echo Start Nginx...
cd "\path\nginx-1.10.3"
start nginx
echo Start PHP56 FastCGI...
cd "\path\php5.6"
php-cgi.exe -b 127.0.0.1:9000
停止stop.bat:
@echo off
echo Stopping nginx...
cd "\path\nginx-1.10.3"
nginx.exe -s stop
::taskkill /F /IM nginx.exe > nul
echo Stopping PHP FastCGI...
taskkill /F /IM php-cgi.exe > nul
exit