Skip to content

Instantly share code, notes, and snippets.

@xz-zlab
Forked from abhishekbhardwaj/php71.sh
Created January 11, 2018 23:43
Show Gist options
  • Select an option

  • Save xz-zlab/12e9b7e3e1c58e6565965853562a28d0 to your computer and use it in GitHub Desktop.

Select an option

Save xz-zlab/12e9b7e3e1c58e6565965853562a28d0 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