Skip to content

Switch Php Version With Mac Homebrew

How to switch PHP versions on Mac with Homebrew#

Use Brew#

Switch to PHP 5.6#

brew unlink php70

brew link php56

Switch to PHP 7.0#

brew unlink php56

brew link php70
Source#