PHP upload limitations

PicHold

Member
Jan 12, 2005
153
0
0
I have edited my php.ini to be above the size of the size of what I need uploaded

www.pichold.com/info.php is my server configuration.

What I need is to be able to upload files larger than 500k via PHP. I can do so fine with FTP no problem. The script worked just fine on a different server, and I never had any file size issues on uploading, so I know its server related.

When I pick a file that is too large, my site just says "Document contains no data" - FireFox, or "This page cannot be displayed" - IE. It does it in under 2 seconds, as if it didn't even try to upload the file.

Anyone have ANY pointers?

I've posted on a few forums, DevShed being one of them. The topic can be found here:
http://forums.devshed.com/t222517/s.html

My website itself can be found here: www.pichold.com

Thanks in advance.
 

PicHold

Member
Jan 12, 2005
153
0
0
[16:54] <PicHold> And btw, what did you edit to fix it?
[16:55] <PicHold> I'd like to post the resolution on the 3 forums I asked for help on :eek:
[16:55] <acidxwarp> httpd.conf
[16:55] <acidxwarp> put limitrequestbody
[16:55] <acidxwarp> in both virtualhost tags
[16:55] <acidxwarp> one for the IP and one for pichold.com virts
[16:56] <acidxwarp> that is a site based config so it will ignore settings that are outside <virtualhost> tag


Problem solved.