Skip to content

Instantly share code, notes, and snippets.

@nicoverbruggen
Created April 4, 2022 07:55
Show Gist options
  • Save nicoverbruggen/540c4b7785be7483461aeb2c09adc019 to your computer and use it in GitHub Desktop.
Save nicoverbruggen/540c4b7785be7483461aeb2c09adc019 to your computer and use it in GitHub Desktop.
Homebrew upgrade PHP
!/bin/sh
# If you are getting issues w/ broken dependents: try `brew reinstall apr-util`
# Alternatively, check linkage here: `brew linkage php`
# Disable Valet
valet stop
# Upgrade PHP
# brew update && brew upgrade php [email protected] [email protected]
# Upgrade every dependency
brew update && brew upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment