phpcgi_start.bat 449 B

12345678910111213141516171819
  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. REM bin\runhiddenconsole php\php-cgi.exe -b 127.0.0.1:9000 -c php\php.ini
  12. bin\runhiddenconsole php_cgi_spawner\php-cgi-spawner.exe "php\php-cgi.exe -c php\php.ini" 9000 4+16
  13. )
  14. exit