今天我更新了Brew,现在我无法安装php56-extensions.
在我的Mac上安装了“php56”,今天我需要安装“php56-redis”,但是当我尝试安装此扩展时,Brew返回了以下错误消息.
$brew install php56-redis
Error: No available formula with the name "php56-redis"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
我在homebrew / php页面上看到这个“tap”已被弃用,现在只有PHP引擎在php@5.6上迁移,但扩展不起作用.
解决方法:
首先安装exolnet / homebrew-deprecated
$brew tap exolnet/homebrew-deprecated
安装不推荐的软件包之后
$brew install php@5.6
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。