先查看下系统默认php命令关联的PHP版本,在命令行输入 ls -l /usr/bin/php
# 修改为8.0
ln -sf /www/server/php/80/bin/php /usr/bin/php