So, I simply read the file sapi/cgi/README.FastCGI in the PHP source.
If I well understand, this feature is usefull when you run directly PHP 
as the fcgi daemon.

I have the end of my explanation, thanks and sorry for noise ;)

Olivier

Olivier B. a écrit :
> Max Dittrich a écrit :
>   
>> AFAIK (?) mod_fcgid can't multiplex multiple request on one fcgi-socket.
>> The fcgi-connection is 1:1 (http request <--> fcgi connection) and can't
>> be shared across childs/threads of apache.
>>
>> .max
>>   
>>     
> Ok, it is what I see too. Thanks.
>
>
> Filip Hajny a écrit :
>   
>> PHP forks because you tell it to. If you ever set PHP_FCGI_CHILDREN to  
>> anything, PHP will fork *that many* processes right away regardless of  
>> how many requests you receive. mod_fcgid doesn't know anything about  
>> this, so you're essentially spawning processes at two levels  
>> (mod_fcgid and PHP itself). My suggestion is to yank our  
>> PHP_FCGI_CHILDREN completely. Just leave the process management to  
>> mod_fcgid.
>>
>> --
>> Filip Hajny
>>     
> Of course PHP forks because I ask to do it. But the question is why this 
> feature exists if it is _totally_ useless ?
> I will ask on the PHP mailing list, maybe they know why they add that 
> strange behavior.
>
> Thanks.
>
> Olivier
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Mod-fcgid-users mailing list
> Mod-fcgid-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users
>   


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to