---------------------------------------------------------------php
重启php
service php-fpm restartmysql
---------------------------------------------------------------
查看apache版本号
httpd -v apachelinux
---------------------------------------------------------------nginx
重启apache
service httpd start 启动
service httpd restart 从新启动
service httpd stop 中止服务sql
apache位置apache
/etc/httpd/conf 和 /etc/httpd/conf.dphp-fpm
---------------------------------------------------------------rest
查看linux版本号
cat /etc/redhat-releaseservice
---------------------------------------------------------------top
apache启动systemctl start httpd中止systemctl stop httpd重启systemctl restart httpdmysql启动systemctl start mysqld中止systemctl stop mysqld重启systemctl restart mysqldphp-fpm启动systemctl start php-fpm中止systemctl stop php-fpm重启systemctl restart php-fpmnginx启动systemctl start nginx中止systemctl stop nginx重启systemctl restart nginx