httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Gingras <francois.ging...@gmail.com>
Subject Re: [users@httpd] Apache with MPM Worker and PHP-5.2.9
Date Fri, 22 May 2009 19:30:47 GMT
Darvin,

Using worker over prefork will allow you to serve more clients, for one. 
The immediate gain will be a lesser memory footprint. Performance gains 
or losses will largely depends on the scripts you run on your server.

As for the second question, that's more of a question for the php 
mailing lists.

Frank

Darvin Denmian wrote:
> will i have any improvement of my performance using : mpm worker +
> fastcgi + php5-cgi ?
> and
> how do I know if an extension is thread-safe?
>
> Thanks.
>
>
> On Fri, May 22, 2009 at 4:07 PM, Frank Gingras
> <francois.gingras@gmail.com> wrote:
>   
>> Yes, that is a common configuration. But not mod_php.
>>
>> Frank
>>
>> Darvin Denmian wrote:
>>     
>>> Is possible to use apache with mpm worker + fastcgi + php5-cgi ?
>>>
>>> Thanks.
>>>
>>> On Fri, May 22, 2009 at 4:04 PM, Frank Gingras
>>> <francois.gingras@gmail.com> wrote:
>>>
>>>       
>>>> Darvin,
>>>>
>>>> Some of the php extensions are not thread-safe, so running in this
>>>> configuration might leads to segfaults.
>>>>
>>>> In short, no, don't do it.
>>>>
>>>> Frank
>>>>
>>>> Darvin Denmian wrote:
>>>>
>>>>         
>>>>> Hello,
>>>>>
>>>>> i have a Web Server with the follow configuration:
>>>>>
>>>>> 4       Generic \ 512 MB \ DDR2 667 FB DIMM
>>>>> 4       Generic \ 1024 MB \ DDR2 667 FB DIMM
>>>>> 2       Maxtor \ 146GB:SAS:10K RPM \ Atlas 10K - SAS
>>>>> 2       Intel \ 2.0 GHz 1333FSB - Woodcrest \ Xeon 5130 (Dual Core)
>>>>> 1       Dell \ 9G Drive Controller - SAS/SATA RAID \ PERC 5/i
>>>>> 1       Dell \ 1066/1333FSB Dual Xeon \ PowerEdge 1950/2950
>>>>>
>>>>> Redhat Enterprise Linux - x86_64 - OS ES 5.0
>>>>>
>>>>> I need to know if advisable or possible to use Apache with MPM Worker
>>>>> and PHP-5.2.9 .
>>>>>
>>>>> Has anyone already tested/used this?
>>>>>
>>>>> Any aditional information is welcome.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> The official User-To-User support forum of the Apache HTTP Server
>>>>> Project.
>>>>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> ---------------------------------------------------------------------
>>>> The official User-To-User support forum of the Apache HTTP Server
>>>> Project.
>>>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>>
>>>>
>>>>
>>>>         
>>> ---------------------------------------------------------------------
>>> The official User-To-User support forum of the Apache HTTP Server Project.
>>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>>
>>>       
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>   


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message