Re: Re: Running PHP for different virtual domains on different Apaches
| From: | Marek Kilimajer | Date: | Sat, 22 Nov 2003 11:41:32 +0000 |
| Subject: | Re: Re: Running PHP for different virtual domains on different Apaches | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170662@lists.php.net to get a copy of this message | ||
Tim Garton wrote:
I don't think his solution really worked, in fact it makes the problem worse. Compared to a single pool of larger processes serving the PHP scripts, there is also a pool of small apache processes that serve static content with the overhead of proxying requests to php scripts to the other server.Problem #2 is that the use of PHP makes each Apache process consume more memory. The process consumes more memory even when it is serving static (non-PHP) files such as a JPG. It would be more efficient to have a pool of small processes serving static files, and some larger processes serving the PHP scripts.can't think of any other way to solve this problem than what you've done.