学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

顶上去
(0)
0%
踩下去
(0)
0%
------分隔线----------------------------