Created
March 31, 2017 12:14
-
-
Save putheakhem/2b7b7a2d72d33c36ac55f9cac10e1164 to your computer and use it in GitHub Desktop.
In the gist i will guide you how to install PHP 7.1 over build in PHP 5.6 in Mac Os
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
Here is a quickly way to install PHP 7.1 on Mac | |
Make sure you have installed brew | |
`brew update` | |
`brew install homebrew/php/php71` | |
`export PATH="$(brew --prefix( homebrew/php/php71)/bin:$PATH" ` | |
Alternatively you can add `export PATH="$(brew --prefix( homebrew/php/php71)/bin:$PATH" ` in to .bashrc or .zshrc to permenatly change the path to PHP installation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment