在 /www/etc/profile 文件中php
unset i unset -f pathmungelinux
这两行上面添加(若是没有,则在最后添加)bash
PATH=$PATH:/www/wdlinux/phps/70/bin export PATH.net
注意路径要正确blog
保存后运行source /etc/profileget
若是出错,则看-bash: $'\r': command not found 类问题的解决file