Re: Ability to lower PHP memory usage
| From: | Christian Schneider | Date: | Thu, 08 Jan 2004 17:25:13 +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-6859@lists.php.net to get a copy of this message | ||
Andi Gutmans wrote:
I don't even mind if --disable-all doesn't disable ext/standard but it'd be nice that if we do a split to core/ and standard/ (I wouldn't go into more granularity than that) that we could have a --disable-standard.I see no problem if it's not included in --disable-all. It is then left to the system administrator to shoot himself in the foot if he decides to --disable-standard. On the other hand I don't think any system administrator running someone elses scripts uses disable-all anyway. So I guess either --disable-all or --disable-all-and-more are ok :-)
It wouldn't hurt anyone and it *is* a pressing problem from talks I've had with all sorts of ppl that have high traffic machines.Seems weird to me but I have to take your word for it. We have a caching loadbalancer which frees up apache processes more quickly. And we disabled keepalive at some points. But providing a low-footprint PHP for people who can't use these methods could be a good thing.
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 placesI had a quick look and browscap seems to use it. And some internal split functions are in ext/standard/reg.c, not sure where they are used. - Chris