APC + php-cgi shared between child

Reinis Rozitis r at roze.lv
Sun Jun 20 17:57:36 MSD 2010


> On Friday of June 18 2010, nfn wrote:
>> Is APC shared between php-cgi child processes?
>
> You may read this stuff:
> http://ivoras.sharanet.org/blog/tree/2010-06-16.php-apc-and-shared-memory.html


I think it gives somewhat wrong impression (at least the author hasnt given 
explanation what way he runs the php - fastcgi itself doesnt tell a lot) as 
when you use the some kind of process manager (and don't spawn the processes 
from webserver on each request) the shared memory is really shared (egg the 
mapping is done in the master process).

Can read also the comment from the linked bug in the article 
http://pecl.php.net/bugs/bug.php?id=11988 (at bottom) ( '[2010-06-13 23:45 
UTC] rasmus at php dot net ' )

rr 



More information about the nginx mailing list