This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| larger-uploads [2020/10/26 10:28] – created gwsadmin | larger-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; | ||
| + | |||
| </ | </ | ||
| + | |||
| * Open up / | * Open up / | ||
| * 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/ | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||