【发布时间】:2018-09-13 22:30:42
【问题描述】:
今天我更新了 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 上迁移,但扩展不起作用。
【问题讨论】:
-
您应该添加您的解决方法作为答案。
-
感谢您的信息。
标签: php macos homebrew deprecated php-extension