您必须启用openssl扩展以通过https下载文件 [英] You must enable the openssl extension to download files via https

查看:524
本文介绍了您必须启用openssl扩展以通过https下载文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想安装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 

但我收到错误


您必须启用openssl扩充功能通过https下载文件

You must enable the openssl extension to download files via https

然后我在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


extension = php_openssl.dll

extension=php_openssl.dll

我得到相同的错误。

推荐答案

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下载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆