Edit the conf file of nginx:
nano /etc/nginx/nginx.conf
Add a line in the http
, server
or location
section:
client_max_body_size 100M;
-in php.ini (inside /etc/php.ini)
max_input_time = 24000
max_execution_time = 24000
upload_max_filesize = 12000M
post_max_size = 24000M
memory_limit = 12000M
systemctl restart nginx