wiki:faq/server/change-fcgid-max-setting

Version 2 (modified by Jamie McClelland, 11 years ago) (diff)

--

You may need to modify your Web Configuration if you're uploading files to a Drupal site and getting an error message like this:

500 Internal Server error

And your error log file reports something like this:

mod_fcgid: HTTP request length 8389712 (so far) exceeds MaxRequestLen (8388608)

The HTTP request through your Drupal interface contains all data being uploaded, such as your file. The default limit is 8MB (this is true even if you've modified your php.ini setting to allow a higher amount.

So if you are uploading a file that is more than 8MiB, the request length is going to also be more than 8MiB.

You must modify a configuration setting in mod_fcgid through the Member's Control Panel. If you know you are going to need to be uploading files larger than 8MiB, that setting needs to be adjusted by adding this to your Web Configuration:

FcgidMaxRequestLen 10388608

Note that the value, in this case 10388608, is expressed in bytes. 10388608 is about 10 Mbytes.