You are running Composer with SSL/TLS protection disabled.

Posted haoxuanchen2014

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了You are running Composer with SSL/TLS protection disabled.相关的知识,希望对你有一定的参考价值。

php  运行compose  老是出现:You are running Composer with SSL/TLS protection disabled.

解决办法:

  执行:composer config -g -- disable-tls false

 

参考地址:https://blog.csdn.net/xcxizz/article/details/52461633

 升级composer

cmd: composer -v  查看当前composer 版本

执行:

    $ composer selfupdate
    Updating to version 1.7.0 (stable channel).
    Downloading: 100%
    Use composer self-update --rollback to return to version 1.2.1




以上是关于You are running Composer with SSL/TLS protection disabled.的主要内容,如果未能解决你的问题,请参考以下文章

解决Perhaps you are running on a JRE rather than a JDK?问题

Gradle plugin requires Java 11 to run. You are currently using Java 1.8.

Perhaps you are running on a JRE rather than a JDK

Maven Install报错:Perhaps you are running on a JRE rather than a JDK?

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.