我在Windows中使用PHP启动Nginx。Nginx通过FastCGI连接到PHP。一切正常,但有时php-cgi.exe
会崩溃而不起作用。窗口日志为:
子进程[3952-D:\nginx\php\php-cgi.exe-b27.0.0.1:9000-cD:\nginx\php\php.ini]以0 完成
有人能帮我吗?
set PHP_FCGI_CHILDREN=0
set PHP_FCGI_MAX_REQUESTS=5000
and run pgp-cgi with these environment values.