Skip to content

Instantly share code, notes, and snippets.

@abhishekbhardwaj
Created January 15, 2017 03:00
Show Gist options
  • Save abhishekbhardwaj/c9c5db4ed1d89352830f164ea97de461 to your computer and use it in GitHub Desktop.
Save abhishekbhardwaj/c9c5db4ed1d89352830f164ea97de461 to your computer and use it in GitHub Desktop.
Install PHP7.1 on OSX with Homebrew
brew update
brew upgrade
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew install php71
## To use PHP7.1 on CLI, add this to .bash_profile
export PATH="$(brew --prefix homebrew/php/php71)/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment