Centos7 restart Apache, nginx, mysql, php-fpm commands

Copyright notice: This article is an original article for bloggers. It can not be reproduced without permission from bloggers. apache
start-up
systemctl start httpd
Stop it
systemctl stop httpd
restart
systemctl restart httpd

mysql
start-up
systemctl start mysqld
Stop it
systemctl stop mysqld
restart
systemctl restart mysqld

php-fpm
start-up
systemctl start php-fpm
Stop it
systemctl stop php-fpm
restart
systemctl restart php-fpm

nginx
start-up
systemctl start nginx
Stop it
systemctl stop nginx
restart
systemctl restart nginx

Leave a Reply

Your email address will not be published. Required fields are marked *