mod_fcgid: HTTP request exceeds MaxRequestLen

On a ISPConfig server with PHP running in FCGI Mode, i get following error in error_log when upload images from WordPress admin area.

[Tue Apr 03 13:45:11 2018] [warn] [client 112.133.237.47] mod_fcgid: HTTP request length 139264 (so far) exceeds MaxRequestLen (131072), referer: https://www.url.com/wp-admin/media-new.php

ISPConfig store error log for site in “log” directory in parent folder of document root. In this case, it was

To fix the error add

to fcgi.conf

On Ubuntu/Debian, you file location is

On CentOS/RHEL

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *