【linux】修改宝塔默认的PHP CLI版本

1 删除

rm -f /usr/bin/php

2 引用你想要的版本

ln -sf /www/server/php/72/bin/php /usr/bin/php
原文地址:https://www.cnblogs.com/richerdyoung/p/13066027.html