apache nginx xampp等服务器重启命令

cd /usr/local/nginx/conf/vhost

/etc/init.d/nginx restart 重启

/etc/init.d/php-fpm-72 restart 重启php

service php-fpm restart 重启php

//重启xampp环境
/opt/lampp/lampp restart

//重启配置
/opt/lampp/lampp reloadapache