修改etcprofile文件即可。首先运行命令vim etcprofile打开etcprofile文件,然后在文件末尾加上如下两行代码PATH=$PATH:usrlocalphp56binexport PATH(视频教