Can someone verify that the solution to this problem is to change my php.ini
file's "memory_limit = 8M;" line to "memory_limit = 16M;"?

 

My script was working fine (file uploading) before.  Then, last night I
upgraded to php 4.3.6 and installed Turck mmcache.  Now I get the following
error:

 

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 6400 bytes) in
/home/httpd/vhosts/tgwedding.com/httpdocs/tgwedding/sitesetup.php on line 31

 

Line 31:

$imageToResize = imagecreatefromjpeg("$img_source"); // get the image
pointer to the original image

 

 

Reply via email to