Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of apache restart

Shulou Source: shulou.com Published: 2022-06-02 03:30:23 09月15日 Update

This article mainly introduces the method of apache restart, the article is very detailed, has a certain reference value, interested friends must read it!

How do I restart apache?

Assuming that the current Linux user's apahce installation directory is / usr/local/apache2, use the following command in the command line terminal to start, stop, and restart apache.

1. Command to start apahce:

/ usr/local/apache2/bin/apachectl start apache

two。 Command to stop apache:

/ usr/local/apache2/bin/apachectl stop

3. Command to restart apache:

/ usr/local/apache2/bin/apachectl restart

To restart the Apache server without interrupting the current connection, run:

/ usr/local/sbin/apachectl graceful

If the current user's apache is already installed as a linux service, you can use the following command to do the above.

1. Start apache

Service httpd start

two。 Stop serving apache

Service httpd stop

3. Restart apache

Service httpd restart

Apache is the number one Web server software in the world. It can run on almost all widely used computer platforms, and is one of the most popular Web server-side software because of its cross-platform and security. It is fast, reliable and can compile interpreters such as Perl/Python into the server through a simple API extension. At the same time, Apache is transliterated as Apache, a tribe of North American Indians, called Apache, in the southwest of the United States. It is also the name of a foundation, a helicopter gunship and so on.

The above is all the contents of the apache restart method, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Commands services servers methods content users software Apache Apache security world values interests Indians can make at the same time name fund foundation security Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Technology MySQL NVidia vpn