Re: Ability to lower PHP memory usage
| From: | Andrei Zmievski | Date: | Thu, 08 Jan 2004 17:47:48 +0000 |
| Subject: | Re: Ability to lower PHP memory usage | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6862@lists.php.net to get a copy of this message | ||
On Thu, 08 Jan 2004, Andi Gutmans wrote:
> You are all missing the point. All the ext/standard would still be enabled
> by default, but it would allow people with very high traffic sites who need
> to save every bit of memory they can to build a lean-and-mean version of
> PHP.
If they want lean-and-mean version, why can't they compile an .so one
and have that loaded up by Apache so that it's shared by the processes?
> No one answered me about regex btw. Is it only being compiled because of
> the regex functions in ext/standard or does anyone know if other places in
> PHP's source tree use it.
Simple recipe:
1. Install cscope (RPM, apt-get, whatever)
2. cd into php-src
3. cscope -R
4. Type in 'regcomp' and see for yourself.
- Andrei