Home > Backend Development > PHP Tutorial > Sharing examples of restarting Apache nginx in centos7

Sharing examples of restarting Apache nginx in centos7

小云云
Release: 2023-03-20 16:30:01
Original
1978 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template