composer 出现 configuration does not allow connection to http.......

出现这样的问题是,镜像使用的是http,而原地址是需要https,所以配置下关掉https就好了。

 

 

我们来个全局设置的方法:

 

composer config -g secure-http false

 

再次运行效果果然不错

 

 

 

 

就可以了。

 

 

posted @ 2016-07-22 22:36  thinkidea  阅读(2716)  评论(0编辑  收藏  举报