User Tools

Site Tools


larger-uploads

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
larger-uploads [2020/10/26 10:32] gwsadminlarger-uploads [2020/10/26 10:33] gwsadmin
Line 1: Line 1:
 +
 +====== Make file sizes larger in PHP and Nginx and other PHP defaults. ======
 +
 +  * Open up /etc/nginx/nginx.conf and add this line:
 +
 +<code bash>
 +# set max upload size
 +        client_max_body_size 1G;
 +
 +
 +</code>
 +
 +  * Open up /etc/php/7.4/fpm/php.ini
 +  * Edit these lines
 +
 <code bash> <code bash>
 Resource Limits Resource Limits
Line 14: Line 29:
  
 date.timezone = Europe/London date.timezone = Europe/London
- 
-</code> 
-====== Make file sizes larger in PHP and Nginx and other PHP defaults. ====== 
- 
-  * Open up /etc/nginx/nginx.conf and add this line: 
- 
-<code bash> 
-# set max upload size 
-        client_max_body_size 1G; 
  
  
 </code> </code>
  
-  * Open up /etc/php/7.4/fpm/php.ini 
-  * Edit these lines 
  
  
larger-uploads.txt · Last modified: 2023/05/17 22:52 by 127.0.0.1