homebrew - brew install php55出现问题

 专注自由近_515 发布于 2022-11-22 13:14

执行

brew install php55

的时候有这这一堆:

Warning: Backing up all known pear.conf and .pearrc files
Warning: If you have a pre-existing pear install outside
     of homebrew-php, or you are using a non-standard
     pear.conf location, installation may fail.

然后:

./configure --prefix=/usr/local/Cellar/php55/5.5.21 --        localstatedir=/usr/loca
checking for krb5-config... /usr/bin/krb5-config
checking for DSA_get_default_method in -lssl... no
checking for X509_free in -lcrypto... yes
checking for pkg-config... no
configure: error: Cannot find OpenSSL's 

READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/josegonzalez/homebrew-php/issues

求助

php -v
PHP 5.5.14 (cli) (built: Sep  9 2014 19:09:25)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies

显示的是我之前安装的版本和安装时间。那么另一个问题就来了,如何完全清理brew 安装的php?

1 个回答
  • brew cleanup php
    
    2022-11-22 13:49 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有