我最近运行了 composer update,这是我得到的错误:
- namshi/jose 5.0.2 requires lib-openssl * -> the requested linked library openssl has the wrong version installed or is missing from your system, make sure to have the extension providing it
.
我正在使用 MAMP。我怎样才能解决这个问题? 正如一些堆栈溢出答案所说,我尝试在我的 mac 上升级 openssl 版本,但没有成功
which openssl
表演
/usr/local/bin/openssl
openssl version
表演
OpenSSL 1.0.2h 3 May 2016
最佳答案
最后的结论是UNINSTALL MAMP,然后使用brew 安装apache、mysql 和php(我用了不到5 分钟就把三个都设置好了)。 然后安装 3rd 方包(包括 openssl)是一件轻而易举的事。
总的来说,我花了 10 分钟,我认为这是值得的。
关于php - 请求的链接库 openssl 安装了错误的版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37473456/