请求的链接库 openssl 安装了错误的版本
the requested linked library openssl has the wrong version installed
我最近 运行 作曲家更新,这是我得到的错误:
- 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
最后的结论是卸载 MAMP,然后使用 brew 安装 apache,mysql 和 php(我花了不到 5 分钟的时间设置了所有三个)。
然后安装 3rd 方包(包括 openssl)是一件轻而易举的事。
总的来说我花了 10 分钟,我认为这是值得的。
我最近 运行 作曲家更新,这是我得到的错误:
- 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
最后的结论是卸载 MAMP,然后使用 brew 安装 apache,mysql 和 php(我花了不到 5 分钟的时间设置了所有三个)。 然后安装 3rd 方包(包括 openssl)是一件轻而易举的事。
总的来说我花了 10 分钟,我认为这是值得的。