-----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Johnny Hughes Sent: February 1, 2006 2:12 PM To: CentOS ML Subject: Re: [CentOS] Apache 2.x and php??? 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. Is that any different from the YUM install? Or does YUM also default to prefork? James