The steps to uninstall Apache are as follows:
1. Stop the apache service
Press WIN R to open the run window and enter services .msc Click OK.
#Find the apace service in the service, right-click - Properties.
Set the startup type to Disabled in the pop-up settings.
2. Use the cmd command line program to delete the apache service
We press WIN R again and enter cmd to open the command line.
# Enter the following command to delete the apache service.
sc delete apache
When uninstalling other services, you only need to change the subsequent service name.
3. Delete the apache folder
We find the folder where apache is installed. Just delete it directly this time. This solves the problem of uninstalling the Apache server.
The above is the detailed content of How to uninstall Apache?. For more information, please follow other related articles on the PHP Chinese website!