PHP macOS & version control (Homebrew)
Jul 29, 2017 · 1 min read
- Install homebrew
brew update
brew install php712. Install different version php
brew unlink [current php symlinks] // ex. php unlink php71
brew install php56
brew link php563. Change php version
brew services stop [current php] // ex. brew services stop php71
brew unlink [current php symlinks] // ex. php unlink php71
brew link php56Reference:
