Re: Ability to lower PHP memory usage

From: Date: Fri, 09 Jan 2004 22:56:17 +0000
Subject: Re: Ability to lower PHP memory usage
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-6942@lists.php.net to get a copy of this message
Hey, Let's cut this thread because it's not going anywhere. Once 5.0 is out I'll try and play with a few things and see if memory consumption can be reduced. It's not something which I meant to happen for 5.0 anyway which is now in bug fix only mode. Whether it's by supporting a --lean-and-mean switch to disable some rinits and functions (maybe aliases as well), or changing some other aspects of PHP, it can be a good thing. I understand that merrily nuking a few functions from the PHP build won't do the trick, but not everyone is Y! and wants to run on a zillion 100 process httpd servers. Some actually prefer running a tenth of a zillion servers with 1000 httpd processes :) Anyway, I'm pretty sure some things can be done and I'll look into them after 5.0. It's bad timing now anyway before the RC. Not to do with memory, I still think ext/standard has become a junk yard and it would be cool to split that up. For those who are hard of hearing, I still mean for all that crap to be enabled by default (I hate breaking BC or having different default builds behave differently), but there is no reason not to enable a --lean-and-mean switch at some point to remove all the crap some ppl don't need. If you want all the crap and aliases, *just don't use that switch* :) Andi

« previous php.internals (#6942) next »