My experience dictates the contrary.

Apache 2 is much faster with PHP that Apache 1.3.  I run an enterprise
web application in my company with about 950 users concurrently.  I
configured the apache logs to add the execution time for each request
(this is done with %T in the LogFormat).  We started the production
system around 2 years ago with RH9 and Apache 1.3.  Only 72% of the
requests scored 0 seconds (which means less than 1 second).  Then I
updated to Fedora Core 2 with Apache 2 and it scored 96%.

I know the kernel is a lot better but this improvement is almost because
of Apache 2 since I tested Apache 1.3 in the same system and I got back
to the 72% performance.

I guess this dependes of what you use.  Because PHP has an Apache filter
and an Apache handler.  I use the later.


-William


El mié, 05-01-2005 a las 14:20 +0000, Matthew Weier O'Phinney escribió:
> * Sebastian <[EMAIL PROTECTED]>:
> > 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:[EMAIL PROTECTED]
> Webmaster and IT Specialist       | http://www.garden.org
> National Gardening Association    | http://www.kidsgardening.com
> 802-863-5251 x156                 | http://nationalgardenmonth.org
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to