Subject: Re: PHP running out of memory. How can I fix that?
To: Gilles Gravier <Gilles@gravier.org>
From: Loic Hoguin <essen@dev-extend.eu>
List: netbsd-users
Date: 05/25/2007 13:22:58
On Fri, 25 May 2007 12:45:38 +0200, Gilles Gravier <Gilles@Gravier.org>
wrote:
> Hi!
>
> So my web server (Apache 1.3) calls PHP scripts... and things start
> going wrong when PHP runs out of memory :
>
> [Fri May 25 10:58:09 2007] [error] PHP Fatal error: Allowed memory size
> of 33554432 bytes exhausted (tried to allocate 1440001 bytes) in
> /usr/pkg/share/swisscenter/base/image.php on line 402
Isn't it because the memory_limit option in your php.ini is set to 32M
(32M = 33554432 bytes)?
You could try to set a bigger value if that is the case.
Greetings.
--
Loïc Hoguin
Dev:Extend