php - Mac sierra 执行 composer update 报告 lib-openssl 版本错误,如何解决?
PHP中文网
PHP中文网 2017-05-16 13:01:09
0
2
477

我在 Mac sierra 系统上进行开发,现在在写一个 Laravel 的后台,需要用到 Jwt,于是引用了 tymondesigns/jwt-auth。但是在 composer update 中,遇到了问题,报了这种 Bug:

但是我的 openssl 已经安装过的

这种情况谁遇到过啊?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
我想大声告诉你

This article Roll your own PHP to support OpenSSL instead of Secure Transport makes it very clear that Apple’s PHP uses its own encryption, not openssl

You need to do what the article says

淡淡烟草味

Maybe the version is wrong. Did you compile it or download it directly using the package management tool? Try reinstalling.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!