On Sun, 9 Jan 2005 21:37:33 +1100, Juergen Rehberger <[EMAIL PROTECTED]> wrote: > i have a problem with my resizing image script. > > It all works fine on my localhost server, but once i upload the whole thing > on my webhost, the script allows resizing of images not bigger than 600kb or > something aournd that size. so my question. does that problem depend on > settings from my webhost. i uploaded (without resizing) images with a > filesize of 1.2mb and it was working. but once i try to add the resizing > function i get following error message > > Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 > (tried to allocate 1632 bytes) in /var/www/html/familie/cms/addimage.php on > line 39
It looks like your script has tried to allocate more than the default 8MB memory limit in php.ini. Is the default on your offline server different? Try: grep memory_limit /usr/local/lib/php.ini (or wherever your php.ini lives) to find out. Regards, -- Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php