Page 1 of 1

CGI Error on upload more than 16M

Posted: Mon Jul 17, 2006 12:14 am
by scarabee
Hi!

I'm uploading photos to my image gallery. But when I try to upload more than 16 Mb of data, I get this error. Uploading less works fine. I have buildt this image gallery using PHP 5, running on a windows server 2003 with IIS. Have changed a lot of settings in the php.ini file, but to no help. Can anybody give me a lead to what is wrong?


Thanks, Scarabee!

Posted: Mon Jul 17, 2006 3:44 am
by JayBird
What is the error?

Posted: Mon Jul 17, 2006 4:00 am
by Christopher
My guess in that it is a limitation of PHP, the webserver or the OS.

Posted: Mon Jul 17, 2006 4:04 am
by scarabee
The error is:

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers.

Posted: Mon Jul 17, 2006 12:51 pm
by dull1554
16mb is the default max file size in php 5.x

Posted: Mon Jul 17, 2006 12:55 pm
by Burrito
change upload_max_filesize and max_post_size in php.ini

Done all the above

Posted: Tue Jul 18, 2006 4:38 am
by scarabee
I have changed upload_max_filesize and max_post_size in php.ini, and some other settings. ....and get the same error still.


Scarabee!