场景:composer版本对应的php版本过低,导致composer安装失败解决:
1、删除原来的php版本
rm -f /usr/bin/php
2、关联新版本到跟命令
ln -sf php安装路径/bin/php /usr/bin/php