bharatmakwana

Increase file upload size limit in PHP-Nginx

Apr 3rd, 2021 (edited)
729
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. upload_max_filesize = 100M
  2. post_max_size = 100M
  3.  
  4. sudo nano /etc/nginx/nginx.conf
  5.  
  6. client_max_body_size 100M;
  7.  
  8. service php7.4-fpm reload
  9. service nginx reload
Add Comment
Please, Sign In to add comment