Apache & PHP (slighly OT)
| From: | Thierry Coopman | Date: | Mon, 19 Feb 2001 10:47:50 +0000 |
| Subject: | Apache & PHP (slighly OT) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40552@lists.php.net to get a copy of this message | ||
Hi,
I use PHP for more than 3 years now, and have found it very convienient and easey. The hardest way was to set it up, get it compiled and running.
I recently found out that there is a very easy way of using .so in Apache (apxs), and PHP can have extentions loaded dynamicly too.
I used to box everything into one binary, just for the 'performance' sake. This resulted in rather huge Apache binaries (1718372 bytes for Apache 1.3.14 with PHP 3.0.11, and 2211536 bytes for Apache 1.3.14 with PHP 4.0.4)
These eat up a LOT of memory for each instance of http (and having +600 http deamons). I was wondering if it would be less memory intensive using apxs, knowing that every page gets parsed.
Would it be advisable to switch to apxs on busy servers, and will this use less RAM (rule: web server that swaps == web server that does no longer respond)?
I use a Solaris Sparc platform (some running take up to 9MB RAM).
Thanks
--
Thierry Coopman - thierry@keytrade.com
My opinions are personal, and have really nothing or nothing to do
with Keytrade!
Seriousness is the only refuge for the shallow. --Oscar Wilde