If apache is installed locally on Windows.
We want to open or close this apache server
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!