尝试通过安装程序安装程序在Win7/64 + WampServer 2.2上安装Composer依赖关系管理工具,我收到以下消息:
缺少openssl扩展,这将降低Composer的安全性和稳定性.如果可能,您应该启用它或使用--with-openssl重新编译php
所以这就是我所做的......
php > php extensions > php_opensslphp > php.ini并搜索openssl以验证它没有被评论出来.它不是.我错过了什么?
请指教.
我正在尝试在WAMP设置中安装Laravel.我收到一条警告信息,因为我没有启用我在WAMP中已经完成的openssl.
这是该消息的屏幕截图.

composer create-project flarum/flarum . --stability=beta
Run Code Online (Sandbox Code Playgroud)
我尝试运行此命令,但它给了我这个错误.
[RuntimeException]
The openssl extension is required for SSL/TLS protection but is not availab
le. If you can not enable the openssl extension, you can disable this error
, at your own risk, by setting the 'disable-tls' option to true.
Run Code Online (Sandbox Code Playgroud)
我试图将"extension = php_openssl.dll"添加到"php.ini",但它仍然出现此错误
在询问之前,我不得不说我已经在堆栈和其他地方尝试了每个类似的问题并且失败了.
我composer因为这个错误而无法使用:
requires ext-openssl * -> the requested PHP extension openssl is missing from your system.
Run Code Online (Sandbox Code Playgroud)
我xampp上ubuntu.
我尝试过的:
;extension=php_openssl.dll在php.ini(CLI和正常) -没有工作phpinfo()是否openssl已加载并激活php -c /opt/lampp/etc/php.ini composer.phar install在我得到错误的地方奔跑作曲家PHP Warning: PHP Startup: Unable to load dynamic library /usr/include/php5/ext/php_openssl.so - /usr/include/php5/ext/php_openssl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PATH中bashrc,没有任何成功我发现奇怪的是扩展的位置...... …