Skip to content

Instantly share code, notes, and snippets.

@lloiacono
Created January 22, 2018 09:30
Show Gist options
  • Save lloiacono/ad01fd6a9cdf4ab2526ba188218ba05a to your computer and use it in GitHub Desktop.
Save lloiacono/ad01fd6a9cdf4ab2526ba188218ba05a to your computer and use it in GitHub Desktop.
OSX php 5.6 and php 7.1
# brew install php56
# brew install php71
# unlink the php version you wont use that often: brew unlink php71
# manually link the php version you want to use when calling php
ln -s /usr/local/Cellar/php56/5.6.33_9/bin/php /usr/local/bin/php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment