fix: increase PHP upload limits to support large video files

Raised upload_max_filesize from 512M to 8192M (8G) and post_max_size
from 520M to 8704M to match the JS-side per-extension size caps that
allow up to 8GB for video files (mp4, webm, mov, etc.).  Also raised
memory_limit to 512M and max_input_time to 600s.
This commit is contained in:
Pontoporeia
2026-06-15 16:17:38 +02:00
parent a5db81a73d
commit 2633cb13b5
2 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
; PHP upload limits — applies when served via PHP-FPM (nginx)
upload_max_filesize = 512M
post_max_size = 520M
memory_limit = 256M
upload_max_filesize = 8192M
post_max_size = 8704M
memory_limit = 512M
max_execution_time = 300
max_input_time = 300
max_input_time = 600