On Wed, Aug 11, 2004 at 10:07:52AM -0400, Joshua Slive wrote:
:
: I believe that this mainly comes from one particular person: Rasmus
: Lerdorf. His argument in more detail is here:
: http://ca3.php.net/manual/en/faq.installation.php#faq.installation.apache2
:
: If you read that you'll see it has nothing really to do with the
: stability of apache2 or apache2+php. His main argument is that
: 1. PHP cannot work reliably in a threaded environment because it
: depends on many libraries, some of which are not thread-safe.
: 2. The only reason to use apache2 is to get threading.
: 3. Therefore there is no reason to use apache2+php.
:
: I do not have enough php-foo to comment on 1,
That's easy. List all libraries linked to your installation of PHP.
Then go through each library and determine without question that it is
completely thread-safe. It's not a PHP issue. It's everything else.
: but I believe 2 is
: completely false, and therefore the argument doesn't hold.
Well, honestly, threading *is* the big reason to use Apache 2, from the
end-users' point of view.
: Many people use apache2 with prefork (non-threaded) because it offers
: more features than apache1.3, has a better, more flexible foundation,
: and is potentially faster.
Benchmarks? I'm open to the idea that Apache 2 could be faster, but I'd
like more data all the same.
: And yes, many people do use apache2+php in production.
For the record, I'm using Apache2+PHP4 in a high-traffic production site.
The main reason I use Apache2 is because of a memory leak somewhere that
causes Apache1 to core dump and crawl to a halt, whereas Apache2 handles
it without a hiccup.
--
Eugene Lee
eugene at fsck dot net
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
|