Re: PHP on 64bit Ubuntu
| From: | Robert Cummings | Date: | Wed, 03 Sep 2008 19:02:02 +0000 |
| Subject: | Re: PHP on 64bit Ubuntu | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279442@lists.php.net to get a copy of this message | ||
On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote:
> For 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.
>:)
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP