Page 1 of 1

image uploading (>2mb) issue in server

Posted: Thu Apr 09, 2009 12:50 am
by vathsala
how to upload large image file (>2mb) using php in server?

uploading is working fine in localhost.but in webserver larger file are not uploaded.. giving blank page... & some times gives error message as "The specified CGI application misbehaved by not returning a complete set of HTTP headers"

what's this error? is there any settings to be done to upload large image file (>2mb) successfully?

any one in this forum can help me???

Thanx in advance..

Re: image uploading (>2mb) issue in server

Posted: Thu Apr 09, 2009 7:49 am
by jaoudestudios
Yes there are settings that need changing.

By default the max file upload apache allows is 2MB.

You can change the max upload file and max post size in php.ini file.