【发布时间】:2017-09-28 22:54:44
【问题描述】:
我尝试像这样安装作曲家:
curl -sS https://getcomposer.org/installer | php
它返回一个错误:
The openssl extension is missing, which means that secure HTTPS transfers are impossible.
If possible you should enable it or recompile php with --with-openssl 尽管在 PHP 中启用了扩展 OpenSSL。
我可以在phpinfo()看到:
PHP Version 5.6.30
OpenSSL support enabled
OpenSSL Library Version LibreSSL 2.2.7
OpenSSL Header Version LibreSSL 2.2.7
Openssl default config /private/etc/ssl/openssl.cnf
如何解决这个问题?
【问题讨论】:
标签: php macos ssl composer-php macos-sierra