How to uninstall apache

步履不停
Release: 2019-07-20 18:00:17
Original
5841 people have browsed it

How to uninstall apache

1. Delete the Apache server under Windows system

There are two methods:

1. Run cmd, enter the directory where the apache program is located, and use the following uninstall command

httpd –k uninstall
Copy after login

2. You can also enter the control panel, management tools, services, and check the services of the apache program. What is the name? For example, apache

cmd runs the following command:

net stop apache
sc delete apache
Copy after login

2. Delete the Apache service under Linux system

Uninstall command apache

sudo apt-get remove apache
Copy after login

Uninstall association

sudo apt-get autoremove
Copy after login

Manually delete configuration

sudo find /usr -name “*apache*” -exec rm -rf {} ;
sudo find
/etc -name “*apache*” -exec rm -rf {} ;
sudo find /var -name “*apache*”
-exec rm -rf {} ;
Copy after login

For more technical articles related to Apache, please Visit the Apache Tutorial column to learn!

The above is the detailed content of How to uninstall apache. 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