brew安装php-ffmpeg,mac下多个php版本快速切换的方法

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下来使用了。

进入你要放置php-version的目录。

git clone https://github.com/wilmoore/php-version.git

source php-version/php-version.sh

php-version 完成

测试:

作者:dayello

你可能感兴趣的:(brew安装php-ffmpeg,mac下多个php版本快速切换的方法)