WX20180711-141039@2x

 

 

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
rust

Error: No available formula with the name “php-version”
==> Searching for a previously deleted formula (in the last month)…
Error: No previously deleted formula found.
==> Searching for similarly named formulae…
Error: No similarly named formulae found.
==> Searching taps…
==> Searching taps on GitHub…
Error: No formulae found in taps.

 

試了很多方法,更新了brew 最后通過brew還是無法安裝成功。直接從git上clone下來使用了。

https://github.com/wilmoore/php-version/wiki/Troubleshooting#gathering-debug-info

 

  1. 進入你要放置php-version的目錄。
  2. git clone https://github.com/wilmoore/php-version.git
  3. source php-version/php-version.sh
  4. php-version 完成

 

測試:

WX20180711-141431@2x

作者:dayello