Skip to content

Commit 4e672ba

Browse files
authored
Merge pull request #1452 from drbyte/502-segfault-krb5-bandage
Bandage for 502 errors using Gettext/PostgreSQL/MongoDB
2 parents c4fb099 + 6b07e42 commit 4e672ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cli/stubs/etc-phpfpm-valet.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,9 @@ pm.start_servers = 2
2424
pm.min_spare_servers = 1
2525
pm.max_spare_servers = 3
2626

27+
;; these are an attempt to mitigate 502 errors caused by segfaults in upstream processes caused by krb5 v1.21 added in June 2023 to php's core build. Ref Issue #1433
28+
; for gettext
29+
env['LC_ALL'] = C
30+
; for postgres
31+
env['PGGSSENCMODE'] = disable
32+

0 commit comments

Comments
 (0)