start nginx stop nginx
- 摘要:start.bat@echooffREMWindows下无效REMsetPHP_FCGI_CHILDREN=55REM每个进程处理的最大请求数,或设置为Windows环境变量setPHP_FCGI_MAX_REQUESTS=1000echoStartingPHPFastCGI...RunHiddenConsoleF:\web\php-5.5.13\php-cgi.exe-b127.0.0.1:9000-cF:\web\php-5.5.13\php.iniechoStartingnginx..
- 标签:Nginx
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