宝塔面板解决composer默认php版本

1.rm -f /usr/bin/php

删除默认的配置

2.将默认版本修改成7.1

ln -sf /www/server/php/71/bin/php /usr/bin/php

发表新评论