Last active
February 12, 2021 13:14
-
-
Save websterl3o/ca5cf050718f28f7ec187ce164da185c to your computer and use it in GitHub Desktop.
Mudar php sem dor de cabeça
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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