Change php.ini
From Terminal
- $ nano /etc/php/7.4/fpm/php.ini
- Set…
upload_max_filesize = 120M
post_max_size = 120M
Change Nginx config
From Terminal
- $ nano /etc/nginx/nginx.conf
- Set..
http {
#...
client_max_body_size 100m;
#...
}
Restart NGINX
# systemctl restart nginx.service
# systemctl start php7.4-fpm.service
Changes in WordPress-Multisite
Network Admin >> Dashboard >> Settings >> Network Settings. Look for Upload Settings
Also change value for Max upload file size
Resources
Leave a Reply