While running PHP as fastcgi (mod_fcgid) and you encountering 500 server errors as below whenver you upload larget attachments
mod_fcgid: HTTP request length 131600 (so far) exceeds MaxRequestLen (131072), referer:
From this error, the server is mod_fcgid enabled and the size of the request body exceeds amount limit set.
So below is the solution:
Solution 1: add the following code in a virtual host of affecting domain
<IfModule mod_fcgid.c> MaxRequestLen 31457280 </IfModule>
MaxRequestLen size is set to 30MB
Solution 2: add link as below to /usr/local/apache/conf/php.conf
If your server do not have /usr/local/apache/conf/php.conf, then try to search if it have /usr/local/apache/conf/conf.d/mod_fcgid.conf. It was a same conf depend how your server install the module.