geco68230
New Pleskian
Hi,
I'm running a system on wordpress that allows me to download large zip files (up to 780M).
Until now I was on ISPConfig and to allow this I used the following queries.
for custom php.ini settings :
Max_execution_time = 6000000;
Upload_max_filesize = 500M;
Post_max_size = 500M;
Memory_limit = 512M;
for Apache settings:
FCgidMaxRequestLen 900000000
Php_admin_value post_max_size 500M
Php_admin_value upload_max_filesize 500M
Timeout 60000
But that does not work on Plesk.
Currently I put this for PHP settings:
max_execution_time = 6000000;
upload_max_filesize = 780M;
post_max_size = 780M;
memory_limit = 512M;
max_input_vars = 10000
max_input_time = 4000
And that for Apache:
<IfModule mod_fcgid.c>
FcgidMaxRequestLen 1073741824
FcgidMaxRequestsPerProcess 100
FcgidProcessLifeTime 7200
</IfModule>
But that does not seem to be enough.
Here is the error that appears in the logs when I try to upload a file superior to 300M:
413 Request Entity Too Large
nginx, status=413, responseHeaders=Date: Tue, 06 Dec 2016 11:20:18 GMT Server: nginx Connection: close Content-Length: 594 Content-Type: text/html
[StateChanged] STOPPED
[UploadComplete]
Please could you tell me what i need to do ?
It seems to be a problem with Nginx...
I'm running a system on wordpress that allows me to download large zip files (up to 780M).
Until now I was on ISPConfig and to allow this I used the following queries.
for custom php.ini settings :
Max_execution_time = 6000000;
Upload_max_filesize = 500M;
Post_max_size = 500M;
Memory_limit = 512M;
for Apache settings:
FCgidMaxRequestLen 900000000
Php_admin_value post_max_size 500M
Php_admin_value upload_max_filesize 500M
Timeout 60000
But that does not work on Plesk.
Currently I put this for PHP settings:
max_execution_time = 6000000;
upload_max_filesize = 780M;
post_max_size = 780M;
memory_limit = 512M;
max_input_vars = 10000
max_input_time = 4000
And that for Apache:
<IfModule mod_fcgid.c>
FcgidMaxRequestLen 1073741824
FcgidMaxRequestsPerProcess 100
FcgidProcessLifeTime 7200
</IfModule>
But that does not seem to be enough.
Here is the error that appears in the logs when I try to upload a file superior to 300M:
413 Request Entity Too Large
nginx, status=413, responseHeaders=Date: Tue, 06 Dec 2016 11:20:18 GMT Server: nginx Connection: close Content-Length: 594 Content-Type: text/html
[StateChanged] STOPPED
[UploadComplete]
Please could you tell me what i need to do ?
It seems to be a problem with Nginx...