start.bat
@echo off
REM Windows 下无效
REM set PHP_FCGI_CHILDREN=55
REM 每个进程处理的最大请求数,或设置为 Windows 环境变量
set PHP_FCGI_MAX_REQUESTS=1000
echo Starting PHP FastCGI...
RunHiddenConsole F:\web\php-5.5.13\php-cgi.exe -b 127.0.0.1:9000 -c F:\web\php-5.5.13\php.ini
echo Starting nginx...
RunHiddenConsole F:\web\nginx-1.2.5\nginx.exe -p F:\web\nginx-1.2.5
stop.bat
@echo off
echo Stopping nginx...
taskkill /F /IM nginx.exe > nul
echo Stopping PHP FastCGI...
taskkill /F /IM php-cgi.exe > nul
@echo off
REM Windows 下无效
REM set PHP_FCGI_CHILDREN=55
REM 每个进程处理的最大请求数,或设置为 Windows 环境变量
set PHP_FCGI_MAX_REQUESTS=1000
echo Starting PHP FastCGI...
RunHiddenConsole F:\web\php-5.5.13\php-cgi.exe -b 127.0.0.1:9000 -c F:\web\php-5.5.13\php.ini
echo Starting nginx...
RunHiddenConsole F:\web\nginx-1.2.5\nginx.exe -p F:\web\nginx-1.2.5
stop.bat
@echo off
echo Stopping nginx...
taskkill /F /IM nginx.exe > nul
echo Stopping PHP FastCGI...
taskkill /F /IM php-cgi.exe > nul