linux切换php版本 1、查看php版本 find / -name .php 2、vim /etc/profile 3、加上export PATH=/usr/local/php5.6/bin:$PATH 4、source /etc/profile