User Tools

Site Tools


larger-uploads

This is an old revision of the document!


Make file sizes larger in PHP and Nginx and other PHP defaults.

  • Open up /etc/nginx/nginx.conf and add this line:
# set max upload size
        client_max_body_size 1G;
  • Open up /etc/php/7.4/fpm/php.ini
  • Edit these lines
larger-uploads.1603708093.txt.gz · Last modified: 2023/05/17 22:52 (external edit)