Created
April 5, 2018 11:18
-
-
Save patrickjahns/6e3d4e1ee73f177aed190d5b16791b1f to your computer and use it in GitHub Desktop.
homebrew php switch
This file contains 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
alias phpx='php -dzend_extension=xdebug.so -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9001 -dxdebug.remote_host=127.0.0.1 -dxdebug.remote_autostart=1 -dxdebug.idekey=PHPSTORM $@' | |
alias php-switch-56='brew unlink php56 && brew unlink php70 && brew unlink php71 && brew unlink php72 && brew link php56 --force' | |
alias php-switch-70='brew unlink php56 && brew unlink php70 && brew unlink php71 && brew unlink php72 && brew link php70 --force' | |
alias php-switch-71='brew unlink php56 && brew unlink php70 && brew unlink php71 && brew unlink php72 && brew link php71 --force' | |
alias php-switch-72='brew unlink php56 && brew unlink php70 && brew unlink php71 && brew unlink php72 && brew link php72 --force' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment