标签:
下载安装包
1 curl -sS https://getcomposer.org/installer | php
把 composer 把复制到 /usr/bin/composer
1 mv composer.phar /usr/bin/composer
composer 运行,ok
caomposer 报错,以及解决方法
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
解决方法是:
1 composer -vvv update
标签:
原文地址:http://www.cnblogs.com/zeopean/p/5451966.html