Re: apache2 & php stability
| From: | Anthony Gauda | Date: | Mon, 29 Nov 2004 22:21:22 +0000 |
| Subject: | Re: apache2 & php stability | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203093@lists.php.net to get a copy of this message | ||
Apache2 is multithreaded and works better under higher loads with a smaller memory footprint. If you have 300 simul connections under apache 1.3 you need 300 forks. The same load under apache 2 runs under 300 threads. With Linux 2.6 threads are very lightweight and in terms of system resources very inexpensive to start.
Under a high load spike Apache 2 would, in theory, respond better.
Greg Donald wrote:
On Mon, 29 Nov 2004 15:55:31 -0600, Anthony Gauda <agauda@grailnetworks.com> wrote:I have read at various places on the web that Apache 2 and PHP running as a module isn't recommended for production sites. Does anyone here run PHP 4/5 and Apache2 in a high load production environment with success? If so, whats your configuration?I don't have any experiences to share with you about PHP5 and Apache2 except that I'm using them on a server at home so I can play with Mojavi 3. But I got a question for you.. What does Apache2 have that you need feature-wise that Apache doesn't have already? Just curious is all. :)