我在Windows中使用PHP启动Nginx。 Nginx使用FastCGI连接到PHP。一切正常,但有时php-cgi.exe
崩溃,不起作用。 Windows日志是:
子进程[3952 - D:\ nginx \ php \ php-cgi.exe -b127.0.0.1:9000 -cD:\ nginx \ php \ php.ini]以0结束
任何人都可以帮助我吗?
答案 0 :(得分:-1)
set PHP_FCGI_CHILDREN=0
set PHP_FCGI_MAX_REQUESTS=5000
and run pgp-cgi with these environment values.