php5cgi_start.bat 381 B

123456789101112131415161718
  1. @echo off
  2. SET PATH=%SystemRoot%
  3. SET PATH=%Path%;%~dp0imagemagick
  4. SET PATH=%Path%;%~dp0php
  5. SET tmp=%~dp0temp
  6. SET PHP_FCGI_MAX_REQUESTS=2000
  7. Rem Start php-fastcgi on port 9000
  8. REM for /l %%i in (1 1 2) do (
  9. set PHP_HELP_MAX_REQUESTS = 100
  10. for /l %%i in (1 1 1) do (
  11. bin\runhiddenconsole php_cgi_spawner\php-cgi-spawner.exe "php5.6\php-cgi.exe -c php5.6\php.ini" 9000 4+16
  12. )
  13. exit