Skip to content

Commit

Permalink
Sync php-fpm.conf from tests with the prod version
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Aug 14, 2024
1 parent b927b98 commit 247c2ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/FpmRuntime/fixtures/php-fpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ error_log = /dev/null
; Log above warning because PHP-FPM logs useless notices
;log_level = 'warning'

; New PHP 7.3 option that includes the maximum length when writing to stderr
log_limit = 8192

[default]
pm = static
; We only need one child because a lambda can process only one request at a time
Expand All @@ -13,8 +16,7 @@ clear_env = yes
; Forward stderr of PHP processes to stderr of PHP-FPM (so that it can be sent to cloudwatch)
catch_workers_output = yes
; New PHP 7.3 option that disables a verbose log prefix
; Disabled for now until we switch to PHP 7.3
;decorate_workers_output = no
decorate_workers_output = no
; Limit the number of core dump logs to 1 to avoid filling up the /tmp disk
; See https://github.com/brefphp/bref/issues/275
rlimit_core = 1

0 comments on commit 247c2ed

Please sign in to comment.