Re: imagecreatefromjpeg() uses too much memory

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

 



On 28 Mar 2006, at 14:21, Fredrik Enestad wrote:

I'm making a function for uploading and resizing images to my web hotel. Problem is, memory_limit is set to 16M so when uploading larger images the
script crashes.

So, I tried to override the memory_limit setting, but as it turns out, my
web host has set some safe mode setting,
so that no settings can be changed in the php.ini, and they wont change the
setting to a higher value themselves.

Do any of you know any other way to solve this problem?

What size images are you uploading? (as in what dimensions, and file size)

Do you have access to something like ImageMagik on the server?

Cheers,

Rich
--
http://www.corephp.co.uk
Zend Certified Engineer
PHP Development Services

--
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