* Neal Schilling <[EMAIL PROTECTED]>:
> I know this question probably gets asked a lot, but I'm setting up a Web 
> Server shortly and am debating going with PHP 5 on Apache 2.0 or 1.3. In 
> short, is PHP 5, when combined with either Apache 1.3 or 2.0 on Linux or 
> FreeBSD, ready for a production environment? This is, of course, an 
> opinion, but back your opinion with as much fact as possible.

I read a blog entry by a PHP/PEAR developer that stated the following:

"Serving PHP via Apache 2 is 27 percent slower then via Apache 1 DSO and
31 percent slower then Apache 1 static."

(http://ilia.ws/archives/32-Apache-1-vs-Apache-2-Performance.html)

The flip side is that apache2 is faster at serving static content, both
in compressed an uncompressed form. Make your own conclusions.

Basically, the big benefit of using apache2 is threading support -- but
PHP4/PHP5 are not considered threadsafe -- not because PHP isn't
threadsafe, but because a number of the libraries against which it *may*
link may not be threadsafe. So, when you run PHP in the apache2 prefork
mode, you lose all the threading benefits.

> Also, if PHP 5 is NOT ready, do you feel PHP 4.3 is ready for production 
> with Apache 2.0?

As far as I know, the same issues are present for PHP4 as PHP5 when
using apache2.

-- 
Matthew Weier O'Phinney           | WEBSITES:
Webmaster and IT Specialist       | http://www.garden.org
National Gardening Association    | http://www.kidsgardening.com
802-863-5251 x156                 | http://nationalgardenmonth.org
mailto:[EMAIL PROTECTED]         | http://vermontbotanical.org

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

Reply via email to