Otreva currently supports Internet Explorer 9 and higher. You should consider upgrading to get all intended functionality. ×
http error wordpress pdf, png, jpg, upload

WordPress HTTP Error on image, jpg, png, pdf uploads

in Blog

Does the above error look familiar? It probably doesn’t happen on file uploads less than 128kb right?

If you have searched around and can’t find the answer, read on.

If you are running Apache, and have Set PHP to run as FastCGI, this is probably your solution. The information below is specifically for Centos Plesk users. FcgidMaxRequestLen –>This is your problem. Before updating to the newest version, it was defaulted to 1gb. Now it is 128kb.

Quick fix if you are command line savy:

  1. SSH into your server
  2. Use your preferred editor (nano or vi) to edit the following file
  3. Paste the following just before the final closing </IfModule> tag
    FcgidMaxRequestLen 1073741824
  4. Don’t forget to restart apache for the change to take effect
  5. /etc/init.d/httpd restart

You should now have no issues with new uploads in WordPress.

Comments are closed.