Re: PHP on 64bit Ubuntu
| From: | alexander lind | Date: | Wed, 03 Sep 2008 20:18:28 +0000 |
| Subject: | Re: PHP on 64bit Ubuntu | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279447@lists.php.net to get a copy of this message | ||
On Sep 3, 2008, at 12:02 PM, Robert Cummings wrote:
On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote:Nope, there is at least one person on this list that doesn't do that unless he finds it really necessary. :p AlecFor anyone that might be following this thread because they also have a memory problem (on a 64 bit platform or not), here is some advice on how to alleviate it: - Use a bytecode cacher like xcache. Brought my 12MB pages down to about 5MB. - If using php from a pre-compiled binary (like from Ubunutus repository), consider re-configuring it manually to drop extensions you don't need. - If using Doctrine, always use its free() method to free up memory after you are done with each object.Doesn't everyone on this list compile from source with only the extensions they need? Sheeeesh, what's the world coming to.