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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php