Re: Re: apache 1 vs 2 w/php

From: Date: Wed, 05 Jan 2005 12:58:22 +0000
Subject: Re: Re: apache 1 vs 2 w/php
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-205667@lists.php.net to get a copy of this message
Lester Caine wrote:
Sebastian wrote:
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.
That would be nice information to find out, but does not seem to be available.
If you are serving up a lot of static file, you will see an improvement. If it is all dynamic PHP requests, then you won't. Apache really doesn't have much to do on a PHP request so all the performance depends on the speed of PHP, not Apache. There are a few places where Apache2 has improved things for a PHP request, but these tend to be countered by a few places where things have gotten ore expensive. Every benchmark I have done puts PHP under Apache2 right in the same ballpark as PHP under Apache1 with Apache1 usually a little bit ahead. But do your own testing on your own platform. Other peoples' benchmarks are meaningless. -Rasmus

« previous php.general (#205667) next »