User Tools

Site Tools


larger-uploads

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
larger-uploads [2020/10/26 10:28] – created gwsadminlarger-uploads [2023/05/17 22:52] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +
 ====== Make file sizes larger in PHP and Nginx and other PHP defaults. ====== ====== Make file sizes larger in PHP and Nginx and other PHP defaults. ======
  
Line 6: Line 7:
 # set max upload size # set max upload size
         client_max_body_size 1G;         client_max_body_size 1G;
 +
  
 </code> </code>
 +
   * Open up /etc/php/7.4/fpm/php.ini   * Open up /etc/php/7.4/fpm/php.ini
   * Edit these lines   * Edit these lines
 +
 +<code bash>
 +Resource Limits
 +memory_limit = 512M
 +
 +Data Handling
 +
 +post_max_size = 1024M
 +
 +File Uploads
 +
 +upload_max_filesize = 1024M
 +
 +Date
 +
 +date.timezone = Europe/London
 +
 +
 +</code>
 +
  
  
larger-uploads.1603708093.txt.gz · Last modified: 2023/05/17 22:52 (external edit)