php - composer安装失败

查看:247
本文介绍了php - 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

一直出现这段错误提示,真的不知道怎么搞,php.ini的openssl已经启动了,查看phpinfo也能查看到openssl,我用的xampp集成的,php版本为5.6,求教啊,

解决方案

在命令行里面 php -m 看一下。可能你是配置的 web 下面的 php.ini 而不是 cli 下面的 php.ini

这篇关于php - composer安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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