Skip to content

Instantly share code, notes, and snippets.

@websterl3o
Last active February 12, 2021 13:14
Show Gist options
  • Save websterl3o/ca5cf050718f28f7ec187ce164da185c to your computer and use it in GitHub Desktop.
Save websterl3o/ca5cf050718f28f7ec187ce164da185c to your computer and use it in GitHub Desktop.
Mudar php sem dor de cabeça
function clear_config_php() {
rm ~/.config/valet/valet.sock
valet restart
}
function mudaphp () {
valet use php@$2 --force
brew link php@$2 --force
zshreload
composer global update
clear_config_php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment