返回文章列表

PHP macOS Version Control via Homebrew

2017-07-29
1 分鐘
PHPmacOSHomebrew

1. Install homebrew

brew update
brew install php71

2. Install different version php

brew unlink [current php symlinks] // ex. php unlink php71
brew install php56
brew link php56

3. Change php version

brew services stop [current php] // ex. brew services stop php71
brew unlink [current php symlinks] // ex. php unlink php71
brew link php56

Reference

原文發表於 Medium

Command Palette

Search for a command to run...