We had been experiencing 500 - Internal Server Errors
on some of our Joomla 1.5, 1.6
sites while uploading extensions.
We had recently updated our hosting environment from Plesk 10.2 ->10.3.1. In addition to the 10.3.1 updates run with the Plesk Panel, we also ran updates for our VPS container via the Power Panel.
After the updates we had issues with extension uploading. All our sites are run with the FastCGI
module by default with our hosting plans.
The updates included an update for the psa-mod_fcgid
(Alternative FastCGI Module for Apache 2). The psa-mod-fcgid
update is now version 2.3.6.
Apache Error log showed an error of -> mod_fcgid: HTTP request length 203991 (so far) exceeds MaxRequestLen (200000), referer: %yourdomain%/index.php?option=com_installer.
Changes in 2.3.6 FCGI
change the FcgidMaxRequestLen
directive from the previous 1GB to 131072 bytes. Thus, any uploads larger than 131072 bytes will return the 500 error.
An edit of /etc/httpd/conf.d/fcgid.conf is required to return the original default value.
Add or change the FcgidMaxRequestLen value.From:
FcgidMaxRequestLen 131072To (for 1GB):
FcgidMaxRequestLen 1073741824 Restart Apache
service httpd restart
This issue will be applicable for any hosting environment or website backend using FastCGI 2.3.6
More info here http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html