问题描述
我想安装Zend Framework 2.所以我下载了骨架应用程序。如ZF2手册中所述,我们必须发出命令
I wanted to install Zend Framework 2. So I downloaded the skeleton application. As mentioned in the ZF2 manual, we have to issue the command
php composer.phar install
但我收到错误
然后我在wamp中启用了ssl_module,我检查了php_ini文件, / p>
Then I enabled the ssl_module in my wamp, I checked the php_ini file and I can see the following line
我得到相同的错误。
推荐答案
PHP CLI SAPI正在使用不同的 php.ini
比CGI或Apache模块。
PHP CLI SAPI is using different php.ini
than CGI or Apache module.
在中找到
; extension = php_openssl.dll
#。#。## / php.ini
,并通过从行首删除分号(;
)取消注释。
Find line ;extension=php_openssl.dll
in wamp/bin/php/php#.#.##/php.ini
and uncomment it by removing the semicolon (;
) from the beginning of the line.
这篇关于您必须启用openssl扩展以通过https下载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!