学Linux - 上红联!
Linux系统教程_红联Linux门户
Linux帮助

centos添加composer

时间:2016-05-02来源:linux网站 作者:zeopean

下载安装包

curl -sS https://getcomposer.org/installer | php

把 composer 把复制到 /usr/bin/composer

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

解决方法是:

composer -vvv update


本文永久更新地址:http://www.linuxdiyf.com/linux/20284.html

------分隔线------