标签:
有时候composer install/update的时候会报错:
比如安装laravel5时会报错如下:
[Composer\Downloader\TransportException]
Your configuration does not allow connection to http://ooxx/xxoo.git. See https://getcomposer.org/doc/06-config.md#secure-http for details.
解决方法是设置一个本地或全局的composer配置:
composer config secure-http false
全局设置:
composer config -g secure-http false
2. 如果还有zlib_decode(): data error
则执行下composer self-update之后再执行安装就好啦
标签:
原文地址:http://www.cnblogs.com/tris/p/5383518.html