On Wed, 2006-02-01 at 15:50 -0500, jim@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.