mike
May 17, 2022, 3:57pm
#1
I am following this tutorial
After updating PHP, go back to the services section and select the wrench icon for NGINX.
Add client_max_body_size 128m;
Save file
Restart nginx by clicking on the restart icon
Is my screenshot correct?
Or it mean edit nginx.conf?
Hello @mike ,
For the screenshot, the first text box can be modified for client body size.
mike
May 18, 2022, 8:06am
#3
If I want the upload limit to be 2000M, should I enter 2000M or 2000m?
I’m not completely sure if it’s case sensitive; but I’d keep it lowercase since that’s usually how I see it represented. Assuming you are asking for 2000 mb.
mike
May 19, 2022, 1:17am
#5
I have changed it to lowercase.
If my phpMyAdmin keeps on timeout, what should I change in the nginx/php settings?
That’d be a combination of all the configs on Increase PHP and NGINX upload limits for WordPress - Cleavr docs . 2000 mb is quite a lot, it’d probably be quicker to establish an SSH connection and use SFTP to transfer files.
mike
May 20, 2022, 12:17am
#7
Thanks, the video on this page is very helpful
I am able to change it now.
1 Like