首页 > WEB开发 > PHP

解决安装composer download error If possible you should enable it or recompile php with --with-openssl

在windows7安装composer时候报错 出现如下错误:

Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:

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
如下图:

解决安装composer download error If possible you should enable it

解决方法:

在php安装目录找到php.ini配置文件 找到 extension=php_openssl.dll 把前面的;号去掉 ,开启openssl扩展

来源://作者:/更新时间:2014-09-09
相关文章