PHP crashes on Windows

Volodymyr Kostyrko c.kworr at gmail.com
Mon Oct 19 23:16:31 MSD 2009


jlist9 at gmail.com wrote:

> I'm trying nginx Windows version with PHP in FastCGI mode.
> It ran fine. Then I tried to bench mark it with Apache ab
> and I find that PHP (5.2.11) crashes after about 400 requests.
> 
> Does anyone have similar experience? Any suggestions or fixes?
> I'm currently putting it in a loop to restart PHP after it crashes.
> 
> I'm also using nginx with a Python FastCGI server but have
> no problem with it at all.

Strange it is. Try setting PHP_FCGI_MAX_REQUESTS environment variable to 
5 before php starts.

-- 
Sphinx of black quartz judge my vow.






More information about the nginx mailing list