fix: Add valet bandaid patch for PHP fpm 8.2
See https://github.com/laravel/valet/pull/1452
This commit is contained in:
parent
5606948741
commit
2c83412ef2
1 changed files with 12 additions and 0 deletions
|
@ -21,6 +21,18 @@ composer global upgrade
|
|||
echo "\n > Running valet install...\n"
|
||||
valet install
|
||||
|
||||
echo "\n > Applying Valet PHP fix for segfaults...\n"
|
||||
sudo echo ";; 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
|
||||
; for gettext
|
||||
env['LC_ALL'] = C
|
||||
; for postgres
|
||||
env['PGGSSENCMODE'] = disable
|
||||
|
||||
" >> ${HOMEBREW_PREFIX}/etc/php/8.2/php-fpm.d/valet-fpm.conf
|
||||
|
||||
echo "\n > Restarting Valet to apply patch...\n"
|
||||
valet restart
|
||||
|
||||
echo "\n > Upgrading nvim packages...\n"
|
||||
nvim +PlugUpgrade +PlugUpdate +qall
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue