Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save putheakhem/2b7b7a2d72d33c36ac55f9cac10e1164 to your computer and use it in GitHub Desktop.
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
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