Re: memory error

From: Date: Thu, 17 Feb 2005 23:44:10 +0000
Subject: Re: memory error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-208969@lists.php.net to get a copy of this message
Bruno Santos wrote: > Hello. I've developed a script to use in shell to resize several images, > but, when i try to run it, i keep receiving this error: > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > allocate 2048 bytes) > > how can i solve it ? If you actually NEED more than 8 Megs to handle your images, just use a different php.ini with: memory_limit = 16M or whatever you think is suitable. You can choose any php.ini file you want from the command line. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#208969) next »