[CentOS] Apache 2.x and php???

Wed Feb 1 21:12:16 UTC 2006
Johnny Hughes <mailing-lists at hughesjr.com>

On Wed, 2006-02-01 at 15:50 -0500, jim at datamantic.com 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060201/79c2d045/attachment-0005.sig>