Add support for PHP-FPM error backtraces and session upload progress

- Introduce `PHP_FPM_FATAL_ERROR_BACKTRACES` and `PHP_FPM_SESSION_UPLOAD_PROGRESS_ENABLED` environment variables with defaults.
- Configure `fatal_error_backtraces` and `session.upload_progress.enabled` in `app-fpm.conf`.
This commit is contained in:
kor-elf committed 2026-10-24 00:42:40 +05:00
1 parent 4cdf11be3d
commit 694c2e4b77
2 files changed
+5

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ php_admin_value[post_max_size] = ${PHP_FPM_POST_MAX_SIZE}
php_admin_value[display_errors] = ${PHP_FPM_DISPLAY_ERRORS}
php_admin_value[opcache.enable] = ${PHP_FPM_OPCACHE_ENABLE}
php_admin_value[opcache.validate_timestamps] = ${PHP_FPM_OPCACHE_VALIDATE_TIMESTAMPS}
php_admin_value[session.upload_progress.enabled] = ${PHP_FPM_SESSION_UPLOAD_PROGRESS_ENABLED}
php_admin_value[fatal_error_backtraces] = ${PHP_FPM_FATAL_ERROR_BACKTRACES}
pm = dynamic
pm.max_children = ${PHP_FPM_PM_MAX_CHILDREN}