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..
image uploading (>2mb) issue in server
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: image uploading (>2mb) issue in server
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.
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.