chore(macos): remove valet workaround

This is now already applied by valet itself.
This commit is contained in:
Saibotk 2024-03-20 21:28:07 +01:00
parent a50ce5298b
commit 3c31863088
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -21,18 +21,6 @@ composer global upgrade
echo "\n > Running valet install...\n" echo "\n > Running valet install...\n"
valet install valet install
echo "\n > Applying Valet PHP fix for segfaults...\n"
grep -q "LC_ALL" ${HOMEBREW_PREFIX}/etc/php/8.3/php-fpm.d/valet-fpm.conf || 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
" | sudo tee -a ${HOMEBREW_PREFIX}/etc/php/8.3/php-fpm.d/valet-fpm.conf
echo "\n > Restarting Valet to apply patch...\n"
valet restart
echo "\n > Upgrading nvim packages...\n" echo "\n > Upgrading nvim packages...\n"
nvim +PlugUpgrade +PlugUpdate +qall nvim +PlugUpgrade +PlugUpdate +qall