修改/etc/profile文件使其永久性生效,并对所有系统用户生效
PATH=$PATH:/usr/local/php/bin
export PATH
source /etc/profile
修改/etc/profile文件使其永久性生效,并对所有系统用户生效
PATH=$PATH:/usr/local/php/bin
export PATH
source /etc/profile
转载于:https://www.cnblogs.com/dongbo/p/8336600.html