HTTP Error or 500 Internal Server Error on uploads

I started experiencing upload errors using Plesk on a DV server and running PHP as FastCgi here’s how I fixed this (for anybody else experiencing this problem):
If you experience an ‘http error’ when uploading files larger than 128KB, you’ll need to edit your FastCGI configuration file and increase the limit, which seems to default to this extremely low value; The previous default was 1 GB. To set this back to 1 GB:

Edit the following file:

/etc/httpd/conf.d/fcgid.conf

Add this line (just below all of the other lines that start with ‘Fcgid’):

FcgidMaxRequestLen 1073741824

Restart your Apache web-server service with this command:

service httpd restart
That’s it.

The topic ‘HTTP Error or 500 Internal Server Error on uploads’ is closed to new replies.