I'm using a PHP/MySQL setting on an apache server at Media Temple.
When attempting to upload large files through the customer's admin section (which is pretty common to have 100MB files going up) I get this error:
[Thu Aug 16 14:30:38 2012] [warn] [client 64.46.17.53] mod_fcgid: HTTP request length 16785212 (so far) exceeds MaxRequestLen (16777216)
In fcgid.conf file I have the following line:
FcgidMaxRequestLen 1073741824600
I also tried changing that to
MaxRequestLen 1073741824600
Anyway teh whole file now looks like this, and when i restart apache there's no errors in configuration.
# This is the Apache server configuration file for providing FastCGI support
# via mod_fcgid
#
# Documentation is available at http://fastcgi.coremail.cn/doc.htm
LoadModule fcgid_module modules/mod_fcgid.so
<IfModule mod_fcgid.c>
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl
</IfModule>
FcgidIPCDir /var/run/mod_fcgid/sock
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm
FcgidIdleTimeout 600
FcgidMaxRequestLen 1073741824600
FcgidBusyTimeout 600
FcgidProcessLifeTime 30
MaxRequestLen 1073741824600
FcgidMaxProcesses 20
FcgidMaxProcessesPerClass 8
FcgidMinProcessesPerClass 0
FcgidConnectTimeout 600
FcgidIOTimeout 600
FcgidInitialEnv RAILS_ENV production
FcgidIdleScanInterval 10
</IfModule>
What other values do I need to override? I have SSH root access, although very uncomfortable with command-line inputs.