This article mainly shares with you examples of restarting Apache nginx in centos7, hoping to help everyone.
apache
Start
systemctl start httpd
Stop
systemctl stop httpd
restart
systemctl restart httpd
mysql
Start
systemctl start mysqld
Stop
systemctl stop mysqld
Restart
systemctl restart mysqld
php-fpm
start
systemctl start php-fpm
Stop
systemctl stop php-fpm
Restart
systemctl restart php-fpm
nginx
Start
systemctl start nginx
Stop
systemctl stop nginx
restart
systemctl restart nginx
The above is the detailed content of Sharing examples of restarting Apache nginx in centos7. For more information, please follow other related articles on the PHP Chinese website!