Skip to content

Instantly share code, notes, and snippets.

@lokmanm
Created December 21, 2021 13:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lokmanm/1b93284bdcb5f56bc52d9e9777f0427a to your computer and use it in GitHub Desktop.
Save lokmanm/1b93284bdcb5f56bc52d9e9777f0427a to your computer and use it in GitHub Desktop.
Switching PHP Versions in Valet
valet stop
brew unlink php@7.0 php@7.1 php@7.2 php@7.3 php@7.4
brew link --force --overwrite php@7.4
brew services start php@7.4
composer global update
rm -f ~/.config/valet/valet.sock
valet install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment