PHP on Apache 2.0

gabor on 2004-09-26T12:47:24

From the INSTALL file in the PHP source (both 4.3.9 and 5.0.2)

Warning Do not use Apache 2.0.x and PHP in a production environment neither on Unix nor on Windows. For information on why, read the following FAQ entry


It is a warning...

zatoichi on 2004-09-26T16:56:26

However, I have been running that very setup at work without problems (yet).

Re:It is a warning...

Dom2 on 2004-09-27T09:03:51

It all depends upon what libraries you're linking in with it and what MPM you use surely. If you stick to the prefork MPM, you should be fine, as it's a similiar setup to Apache 1.3.

The problem stems from 3rd party libraries in PHP not being threadsafe, but used inside a threaded apache.

-Dom