WordPress HTTP Error on image, jpg, png, pdf uploads
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:
- SSH into your server
- Use your preferred editor (nano or vi) to edit the following file
- Paste the following just before the final closing </IfModule> tag
- Don’t forget to restart apache for the change to take effect
You should now have no issues with new uploads in WordPress.