• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved increasing maxrequestlen from Plesk "default", help!!

zoldos

Basic Pleskian
I understand, after some research, that the Plesk "default" maxrequestlen value is 134217728. I need to change this to at least 419430400 but am not having any luck. Below is my most recent error log:

Code:
[Mon Mar 20 20:04:04.024047 2017] [fcgid:warn] [pid 8883] [client xxx.xxx.xxx.156:56538] mod_fcgid: HTTP request length 134225920 (so far) exceeds MaxRequestLen (134217728), referer: https://xxxxxxxxxxxxxxl.net/index.php?gallery/albums/xxxxxxxxxxxxxxxxxxx/add-video

I've tried everything I can think of to change it, but nothing works. I increased things my Plesk panel so everything is well over 400M, etc., and also added the below "Additional Directives", and I've confirmed these values are being read!

Code:
MaxRequestLen = 419430400
FcgidMaxRequestLen = 419430400
FcgidMaxRequestInMem = 419430400

So what am I doing wrong? How do I change the default Plesk value?? I can't open a support ticket as my Plesk was not purchased, but rather is part of my hosting package.

Thanks!!
 
Thanks for both replies! It looks like I had to change the setting in my virtual hosts template. I did so, then reconfigured it, and BAM, it worked. :)
 
Hi
I did everything in the link Unable to upload large files via PHP: HTTP request length exceeds MaxRequestLen after doing everything
But no luck :(
Help please
I know what the fix is if you use Plesk. Just go to your Plesk panel. Then click on "Apache & Ngnix Settings", then at the bottom, "Additional Apache Directives", add this:

Code:
<IfModule mod_fcgid.c>
   FcgidMaxRequestLen 1073741824
   FcgidMaxRequestsPerProcess 100
   FcgidProcessLifeTime 7200
</IfModule>

This overrides all other settings. I can now upload like 250MB videos.
 
Back
Top