This is a discussion on Re: Apache 2.x and PHP within the PHP General forums, part of the PHP Programming Forums category; "Jean-Christian Imbeault" <jc@mega-bucks.co.jp> wrote in message news:3F1D18D5.9060606@mega-bucks....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"Jean-Christian Imbeault" <jc@mega-bucks.co.jp> wrote in message
news:3F1D18D5.9060606@mega-bucks.co.jp... > Miguel Angelo wrote: > > > > Is PHP capable of running on Apache 2.x and if so what version ? > > And is it stable ? > PHP will run on Apache 2 but ... > > #1 Apache 2 is multi-threaded whereas PHP is not. You need to turn > Apache 2's multi-threading off. > > #2 Turning Apache 2's multi-threading off pretty much loses any > performance gains Apache 2 has over Apache 1.2.X > > #3 I'm not 100% sure that even with multi-threading off PHP is 100% stable. > > Conclusion: > > If you want to use PHP on a production server don't use Apache 2. May I add this little note from the PHP installation txt file : ------------------------------------------------------------ ATTENTION: Apache 2 Users At this time, support for Apache 2 is experimental. It's highly recommended you use PHP with Apache 1.3.x and not Apache 2. (...) ------------------------------------------------------------ -- Ivo Fokkema PHP & MySQL programmer Leiden University Medical Centre Netherlands |