修改centos环境变量时间:2023-03-09 17:38:56 1、vim /etc/profile 2、PATH=$PATH:/usr/local/php/bin;export PATH 3、source /etc/profile