php.ini 类似socket_time 改成600
到https://getcomposer.org/download/下载Latest 1.x版本
将下载的文件composer.phar上传到/var/www
mv /var/www/composer.phar /usr/local/lib/php/bin/composer
chmod 777 -R /usr/local/lib/php/bin/composer
cd /usr/local/lib/php/bin/composer
composer
cd /var/www/html
composer global require "fxp/composer-asset-plugin:~1.4.6"
composer config repo.packagist composer https://mirrors.aliyun.com/composer/
composer config --unset repos.packagist
composer install --ignore-platform-reqs