Title: Maximum upload size, http error
Last modified: August 21, 2016

---

# Maximum upload size, http error

 *  Resolved [gabrielhuisg](https://wordpress.org/support/users/gabrielhuisg/)
 * (@gabrielhuisg)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/maximum-upload-size-http-error/)
 * Hi
 * I have problems uploading images to wordpress, woocommerce. I encounter http 
   error.
 * May I know has that got to do with file size? What is the max single file upload?
 * Thank you for your assistance.
 * Regards
    Gabriel

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Yuva](https://wordpress.org/support/users/sidhu7018/)
 * (@sidhu7018)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/maximum-upload-size-http-error/#post-5134583)
 * How much size of files you are uploading? Its problem with php.ini file in your
   server. The max file upload is depends upon the Hosting Provider. Many Hosting
   providers have **5MB** (max upload). Can you tell me which Hosting you are using?
 *  Thread Starter [gabrielhuisg](https://wordpress.org/support/users/gabrielhuisg/)
 * (@gabrielhuisg)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/maximum-upload-size-http-error/#post-5134603)
 * Hi Sidhu
 * thank you for your fast respond. The file size i am uploading is approx 2-3mb.
 * I am using Digital Ocean
 * Thank you once again
 *  [BARTNKCMO](https://wordpress.org/support/users/bartnkcmo/)
 * (@bartnkcmo)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/maximum-upload-size-http-error/#post-5134634)
 * I just added this into my php.ini and it seemed to do the trick
 * max_execution_time = 60;
 * memory_limit = 512M;
 * upload_max_filesize = 512M;
 * post_max_size = 512M;
 *  Thread Starter [gabrielhuisg](https://wordpress.org/support/users/gabrielhuisg/)
 * (@gabrielhuisg)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/maximum-upload-size-http-error/#post-5134645)
 * Hi
 * Thanks for giving me the solution. Do you have Skype? Could we share screen on
   Skype so that i can see how you add this code.
 * Thanks for sharing once again. My Skype ID is gabriel4827. I’m looking forward
   to hearing from you.
 *  [Yuva](https://wordpress.org/support/users/sidhu7018/)
 * (@sidhu7018)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/maximum-upload-size-http-error/#post-5134653)
 * Hi,
    Upload your php.ini file i can solve your problem.
 *  [BARTNKCMO](https://wordpress.org/support/users/bartnkcmo/)
 * (@bartnkcmo)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/maximum-upload-size-http-error/#post-5134711)
 * It was a pretty simple fix I just cut and pasted the lines into the php.ini file
   and saved it.
 * Now as for other WP issues that have come up and no help from the community I
   have a site sitting dead in the water. But that is a story for another day.
 *  Thread Starter [gabrielhuisg](https://wordpress.org/support/users/gabrielhuisg/)
 * (@gabrielhuisg)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/maximum-upload-size-http-error/#post-5134716)
 * Thank you Sidhu and Bartnkcmo
 * I manage to resolve the issues using your suggested fix.
 *  [BARTNKCMO](https://wordpress.org/support/users/bartnkcmo/)
 * (@bartnkcmo)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/maximum-upload-size-http-error/#post-5134721)
 * Good to hear you got it fixed.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Maximum upload size, http error’ is closed to new replies.

## Tags

 * [http error](https://wordpress.org/support/topic-tag/http-error/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 8 replies
 * 3 participants
 * Last reply from: [BARTNKCMO](https://wordpress.org/support/users/bartnkcmo/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/maximum-upload-size-http-error/#post-5134721)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
