Reply to Re: [PHP] memory error

Your name:

Reply:


Posted by Richard Lynch on 02/18/05 01:44

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация