View Single Post
Old December 6th, 2005, 08:41 PM   #10 (permalink)
Tourmeister
Member
Verified Customer
 
Join Date: Dec 2005
Location: Texas
Posts: 30
Quote:
Originally Posted by Chuck S
Hello that error message tells me your PHP memory is being exhausted.

This is usually brought on my using GD2 as the image processor and uploading big images

You can place a little over ride in your upload file to help

In uploadphoto.php find this

require "pp-inc.php";

add this above

ini_set("memory_limit", "32M");
Howdy,

Got that done. I can now upload one image at a time. They are about 200K each. Trying to do two at a time causes it to crash and I get the same error as above. Can I just up that limit again? Given the size of the limit relative to the images, I would have thought 32M was plenty. However, this stuff is like black magic to me I do share the server with a few other sites and I don't want to do anything that will negatively affect their sites performance wise.

Oh, yes I am using GD2 on the advice of my host.

Adios,
Tourmeister is offline   Reply With Quote