Home  >  Article  >  Operation and Maintenance  >  How to shut down apache service

How to shut down apache service

(*-*)浩
(*-*)浩Original
2019-10-29 14:41:4813767browse

If apache is installed locally on Windows.

We want to open or close this apache server

How to shut down apache service

Method 1: (Recommended learning: apache use)

The visual interface method provided by apache is closed, which is easier to operate.

Method 2:

Use the cmd command line to enter the following command in the apache/bin directory to operate                  

httpd -k start                                                                                                                     
httpd -k restart                                                                                                                
httpd -k stop

Method 3 :

Enter Computer Management

Run the command input compmgmt.msc

Click to enter the service and then In the service list on the right, there are services that are running at this time

We just right-click to close it. Of course, if you need to open it, just right-click again and click Run.

The above is the detailed content of How to shut down apache service. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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
Previous article:How apache parses phpNext article:How apache parses php