-
-
Save letian1225/be06e0547816641e3f78b3d96ec8baaa to your computer and use it in GitHub Desktop.
Install PHP7.1 on OSX with Homebrew
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
| 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" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
export PATH="$(brew --prefix php@7.1)/bin:$PATH"