composer安装TP5报openSSL问题?

浏览:1596 发布日期:2018/09/13 分类:ThinkPHP5专区 关键字: composer,thinkphp,TP5,openSSL,SSL
大家好,请教下window系统下利用composer安装TP5的问题:
composer、git均是正常的,但是利用composer命令安装TP5时报下面错误。
[Composer\Exception\NoSslException]
The openssl extension is required for SSL/TLS protection but is not available. 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.

翻译为:
对于SSL/TLS保护,OpenSSL扩展是必需的,但不可用。如果不能启用openssl扩展,则可以通过将“.-tls”选项设置为true,自行禁用此错误。




请哪位老师解答下,openSSL是我本机设置有问题吗?若是,请问怎么解决?
谢谢!!
最佳答案
评论( 相关
后面还有条评论,点击查看>>