mac 用brew 安装php7.0 报错 求解
用mac 的brew 安装多个版本的PHP 版本的,安装php53 php56 都是正常的情况,php7.0安装就报错
brew install php70
==> Installing php70 from josegonzalez/php
Error: Cannot install josegonzalez/php/php70 because conflicting formulae are installed.
php55: because different php versions install the same binaries.
Please `brew unlink php55` before continuing.
Unlinking removes a formula's symlinks from /usr/local. You can
link the formula again after the install finishes. You can --force this
install, but the build may fail or cause obscure side-effects in the
resulting software.
➜ ~ brew install josegonzalez/php70
Error: No available formula with the name "josegonzalez/php70"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
➜ ~ brew list
freetype icu4c libevent libxml2 php-version php55 unixodbc
gettext jpeg libpng openssl php53 readline
报错信息不太明白什么意思
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
正确的姿势是:
错误详细说明:
它不是让你运行brew unlink php55吗?那你就运行呗。
错误信息不实说的很清楚吗。
直接执行
brew install josegonzalez/php70