Re: apache 1 vs 2 w/php
| From: | Matthew Weier O'Phinney | Date: | Wed, 05 Jan 2005 14:20:14 +0000 |
| Subject: | Re: apache 1 vs 2 w/php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205669@lists.php.net to get a copy of this message | ||
* Sebastian <sebastian@broadbandgaming.net>:
> I am undecided whether to upgrade to apache 2 (currently running 1.3.33)
> I've heard some bad stuff (some good maybe) about using apache 2 with php..
> does anyone have an opinions?
>
> I know everything has cons/pros but i am just looking for advice on whether
> my site will benifit from the upgrade. I'm curious to know if a site that
> normally sees 300-500 users online would see any improvements.
>
> any on going issues? is php faster/slower? downsides? advantages? anything
> in general that can help me decide.
This study might help you make up your mind:
http://ilia.ws/archives/32-Apache-1-vs-Apache-2-Performance.html
In summary: apache2 is faster for static content, but slower at serving
PHP; additionally, if using the prefork version of apache2 (which you
need to do to keep PHP stable), much of your performance boost for
static content will be lost. Your best bet: stick with apache1 if using
PHP heavily.
--
Matthew Weier O'Phinney | mailto:matthew@garden.org
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org