无法在我的 Mac Mountain Lion 上运行 Composer - openssl 扩展 [英] Can't run Composer on my Mac Mountain Lion - openssl extension
问题描述
我安装了几个需要 Composer 的 CMS.
I installed several CMS that require Composer.
两天后我出现错误,无法继续.
Since 2 days i got error and can't go on.
[RuntimeException] You must enable the openssl extension to download files via https
我检查以下内容:
$ openssl version OpenSSL 1.0.1e 11 Feb 2013
$ which openssl /opt/local/bin/openssl
phpinfo say Phar - Native OpenSSL support enabled and OpenSSL support enabled.
phpinfo say Phar - Native OpenSSL support enabled and OpenSSL support enabled.
如果我这样做了
$ php -info| grep openssl OpenSSL support => disabled (install ext/openssl)
有人知道我应该怎么做才能运行 Composer 吗?
Does someone has a clue about what i should do to be able to run Composer ?
推荐答案
有疑问(感谢 Sven 将我推向那个方向;)),我使用端口重新安装 openssl 扩展.
In doubt (tks to Sven for pushing me that direction ;) ), I reinstall using port the openssl extension.
sudo port install php5-openssl
它没有下载文件,而是重置了首选项中的某些内容,并且我能够在 Tiki Wiki CMS(我使用最多的 CMS)上正确运行 Composer 安装.
It didn't download files but reset something in the preferences and i was able to run Composer install properly on Tiki Wiki CMS (the CMS i'm using most).
这篇关于无法在我的 Mac Mountain Lion 上运行 Composer - openssl 扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!