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
larger-uploads [2020/10/26 10:33] 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. ======
 +
 +  * 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 18: Line 33:
 </code> </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> 
- 
-  * Open up /etc/php/7.4/fpm/php.ini 
-  * Edit these lines 
  
  
larger-uploads.1603708383.txt.gz · Last modified: 2023/05/17 22:52 (external edit)