CentOS中Composer与PHP版本需匹配,主要关联如下:
php -v
composer.json
curl -sS https://getcomposer.org/installer | php
composer self-update