I start Nginx with PHP in Windows. Nginx connects to PHP with FastCGI. Everything works correctly, but sometimes php-cgi.exe
crashes and does not work. The windows log is:
Child process [3952 - D:\nginx\php\php-cgi.exe -b127.0.0.1:9000 -cD:\nginx\php\php.ini ] finished with 0
Can anyone help me?
set PHP_FCGI_CHILDREN=0
set PHP_FCGI_MAX_REQUESTS=5000
and run pgp-cgi with these environment values.