Title: HTTP Error when uploading files from computer.
Last modified: August 20, 2016

---

# HTTP Error when uploading files from computer.

 *  Resolved [xtranhu](https://wordpress.org/support/users/xtranhu/)
 * (@xtranhu)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-files-from-computer/)
 * Whenever I try to upload a file from my computer (with any extension), this error
   shows up: “HTTP error.” As long as the file has more than ~1Mb it fails.
    Some
   small images pass trough tough. Its the weirdest thing. I can’t pin point the
   origin of this error due to the lack of information.
 * My php.ini is set accordingly and ready for attachments bigger than 25 Mb.
 * Any help would be appreciated.
    Thanks
 * [http://wordpress.org/extend/plugins/delightful-downloads/](http://wordpress.org/extend/plugins/delightful-downloads/)

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

 *  Plugin Author [A5hleyRich](https://wordpress.org/support/users/a5hleyrich/)
 * (@a5hleyrich)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-files-from-computer/#post-3452062)
 * That is very strange. Does your server log show any error messages?
 * Also, what do you have the following set to in php.ini? max_execution_time, max_input_time,
   memory_limit & upload_max_filesize
 *  Thread Starter [xtranhu](https://wordpress.org/support/users/xtranhu/)
 * (@xtranhu)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-files-from-computer/#post-3452067)
 * What do you mean by server log?
 * In WP debug log nothing shows up.
 * My php.ini is set with:
    max_execution_time=120 max_input_time=120 memory_limit
   =-1 upload_max_filesize=25M
 *  Plugin Author [A5hleyRich](https://wordpress.org/support/users/a5hleyrich/)
 * (@a5hleyrich)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-files-from-computer/#post-3452068)
 * You should be able to see your server log file under your hosting provider’s 
   control panel. The log should give us more information as to why the uploads 
   are failing.
 * Ashley
 *  Thread Starter [xtranhu](https://wordpress.org/support/users/xtranhu/)
 * (@xtranhu)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-files-from-computer/#post-3452069)
 * I use my own dedicated server with nginx. No control panel. I guess I could debug
   nginx but last time I checked debugging in ngix had to be enabled when compiled.
 *  Thread Starter [xtranhu](https://wordpress.org/support/users/xtranhu/)
 * (@xtranhu)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-files-from-computer/#post-3452070)
 * Ok, I figured it out.
 * There was something bugging me about the file size and only now I realised that
   nginx disregards php.ini values if you dont specify a larger value on vhost.
 * Just added “client_max_body_size 100M;” to my nginx default.conf (under server)
   and now it’s working.
 * Nothing to do with the plugin.
 * Thanks for the support tough 😉
 *  Plugin Author [A5hleyRich](https://wordpress.org/support/users/a5hleyrich/)
 * (@a5hleyrich)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-files-from-computer/#post-3452075)
 * Glad you figured it out and thanks for the positive feedback.
 * Ashley

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

The topic ‘HTTP Error when uploading files from computer.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/delightful-downloads_33bab1.svg)
 * [Delightful Downloads](https://wordpress.org/plugins/delightful-downloads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/delightful-downloads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/delightful-downloads/)
 * [Active Topics](https://wordpress.org/support/plugin/delightful-downloads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/delightful-downloads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/delightful-downloads/reviews/)

## Tags

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

 * 6 replies
 * 2 participants
 * Last reply from: [A5hleyRich](https://wordpress.org/support/users/a5hleyrich/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/http-error-when-uploading-files-from-computer/#post-3452075)
 * Status: resolved