mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 07:11:18 +02:00
fix: bypass /tmp tmpfs for file uploads by redirecting PHP upload_tmp_dir to storage partition
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
; Bypass /tmp tmpfs (987MB) for large video/audio uploads.
|
||||
; /tmp defaults to a small tmpfs; this points PHP's upload temp
|
||||
; directory to the storage partition which has 20GB free.
|
||||
upload_tmp_dir = /var/www/xamxam/storage/tmp/php-uploads
|
||||
|
||||
; These mirror the nginx fastcgi_param PHP_VALUE overrides
|
||||
; as a belt-and-suspenders safety net.
|
||||
upload_max_filesize = 8192M
|
||||
post_max_size = 8192M
|
||||
memory_limit = 256M
|
||||
max_execution_time = 600
|
||||
max_input_time = 600
|
||||
Reference in New Issue
Block a user