Reply to Re: fatal error: out of memory when trying to use imagecopyresampled

Your name:

Reply:


Posted by gbbulldog on 08/29/06 15:24

Janwillem Borleffs wrote:
> lawrence k wrote:
> > Does anyone know how to protect against these errors?
> >
>
> 1. Use smaller images
> 2. Increase the value of the memory_limit directive in your php.ini file
>
>
> JW

Also, when you're resizing images it's the resolution of the image
which effects the memory usage.
I found it useful to figure out the largest amount of pixels the server
can process in one go and check that an image doesn't exceed this limit
before processing.

[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

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