I have developed a magento website and I'm facing a serious issue while uploading the product image ! I am unable to upload images more then 2MB of size !

Any solutions ?


Make sure that you have updated your php.ini to allow the desired size of files. A good example of this can be found on stackexchange


Note: post_max_size should be greater than or equal to upload_max_filesize

  • Unable to change php.ini.sample to php.ini. Throws me error ! Any help ? – Debuxed Jun 20 '14 at 8:24
  • @Kunal you do not need to change the whole file, just find the to mentioned in my answer and update these to the value you need. – David Manners Jun 20 '14 at 8:26
  • I did the same bro ! Updated the values still I'm unable to upload large size images ! Do you think it's something wrong with Godaddy ? Maybe it's shared hosting so it's creating an issue ? If you can help me with this ! My skype is e.u.c.l.i.d – Debuxed Jun 20 '14 at 8:55
  • I would suggest contacting godaddy about this one. It will be a common request that they will be able to help with. – David Manners Jun 20 '14 at 8:56
  • Yeah exact point,Thank you.This solved for me – anil Sep 15 '19 at 18:39

If your webserver is Apache and mod_security module is installed, please remove and check again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.