Hi Glen,

I'm running PHP 5.3 and Apache with mod_mpm_worker, but not using 
mod_php. I'm running it with a mod_fcgid setup, which is nice: it means 
requests for non-PHP content don't need to involve PHP at all. They're 
instead served by a nice, small Apache worker thread. And you still get 
to sidestep the thread safe/non-thread safe issue, because the PHP 
workers still get their own processes.

I still wouldn't recommend the setup to anyone who has memory to burn. I 
primarily went after it because I'm running it on a very 
memory-constrained VPS. The PHP fastcgi workers seem to leak memory at 
an astonishing rate - probably because under a mod_php setup they'd 
never have to live beyond one request. (Graphs of the leakage here: 
http://tinyurl.com/nuttqh)

The next thing I'm going to try is the FPM patches for nginx. But I, 
frankly, don't fancy my chances of getting something more stable.

Regards,
Dominic

Glen Ogilvie wrote:
> Hi,
>
> Interested to know if anyone is running php 5.3.x in production with apache 
> in 
> multitheaded worker mode.  I know it never used to be thread safe, but 
> wondering if the issues have been sorted yet.
>
> Regards
> Glen Ogilvie
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to