ERROR: Service 'php' failed to build: The command '/bin/sh -c composer global require "fxp/composer-asset-plugin:^1.4.4"' returned a non-zero code: 1 安装报错
php72,composer也相对应的版本,centos7默认版本为php5,需要更新为php7.0以上. 系统需要提前:安装好php72,替换默认的php;安装好git,vim.
安装文档不是有安装composer的步骤吗?
http://www.fecmall.com/doc/fecshop-guide/develop/cn-2.0/guide-fecshop-2-graphical-install.html
curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer composer self-update