Re: memory error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux