AnswerFor example, to upload 3GB files to a website, adjust the following settings:
- Log in to Plesk.
- Go to Domains > example.com > PHP Settings and configure the following options:
file_uploads = on
upload_max_filesize = 3500M
post_max_size = 3500M
memory_limit = 3500M
Note: "3500M" is just an example. Instead of "3500M" you can use gigabytes, for example "4G".
- Then go to Domains > example.com > Hosting & DNS > Apache & nginx Settings and add the following line to Additional directives for HTTP and Additional directives for HTTPS fields:
QuoteLimitRequestBody 3670016000
where 3670016000 (bytes) = 3500MB
- If the website for which you would like to upload 3GB files is served by nginx instead of Apache (check it at Domains > example.com > PHP Settings), then additionally apply the steps under "For case PHP is served by nginx" from this KB article to increase the nginxClientMaxBodySize value to 3500m.