Apache 2.x and php???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf
Of Johnny Hughes
Sent: February 1, 2006 2:12 PM
To: CentOS ML
Subject: Re:  Apache 2.x and php???

On Wed, 2006-02-01 at 15:50 -0500, jim@xxxxxxxxxxxxxx wrote:
> My understanding is that it is not recommended to run PHP with Apache  
> 2 - unless Apache 2 is run in prefork mode. This is because many  
> popular PHP libraries are not thread safe (although PHP itself is.)  
> The stock CentOS Apache is in prefork mode I believe and that is why  
> there are no problems.
> 
> Apache prefork:
> 
> http://httpd.apache.org/docs/2.0/mod/prefork.html
> 
> PHP manual warning about Apache 2 in threaded mode:
> 
> http://www.php.net/manual/en/ 
> faq.installation.php#faq.installation.apache2
> 
> That is true ... the centos apache is defaulted that way.


Is that any different from the YUM install?  Or does YUM also default to
prefork?


James


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux