Skip to content

Commit

Permalink
fix: move decorate_workers_output to configurable env.
Browse files Browse the repository at this point in the history
  • Loading branch information
Annavar-satish committed Sep 6, 2024
1 parent df96475 commit 252b148
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions rootfs/etc/php82/php-fpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ error_log = /var/log/php82/error.log
; which must suit common needs.
; Default Value: php-fpm7
;syslog.ident = php-fpm7
; this prevents a bigger json to be splitted into multiple lines
log_limit = 8192

; Log level
; Possible Values: alert, error, warning, notice, debug
; Default Value: notice
Expand Down
3 changes: 2 additions & 1 deletion rootfs/etc/php82/php-fpm.d/www.conf
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,9 @@ catch_workers_output = yes
; via getenv(), $_ENV and $_SERVER.
; Default Value: yes
clear_env = no

; this will void the warning messages on the log output
decorate_workers_output = no
decorate_workers_output = {{ default .Env.PHP_DECORATE_WORKERS_OUTPUT "off" }}
; Limits the extensions of the main script FPM will allow to parse. This can
; prevent configuration mistakes on the web server side. You should only limit
; FPM to .php extensions to prevent malicious users to use other extensions to
Expand Down

0 comments on commit 252b148

Please sign in to comment.