Re: Apache 2.x and PHP
| From: | Ivo Fokkema | Date: | Tue, 22 Jul 2003 11:12:53 +0000 |
| Subject: | Re: Apache 2.x and PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156206@lists.php.net to get a copy of this message | ||
"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