How to uninstall apache server

藏色散人
Release: 2019-08-06 13:28:20
Original
12557 people have browsed it

How to uninstall apache server

How to uninstall the apache server

1. There are two ways to delete the Apache server under Windows system:

1. Run cmd and enter the directory where the apache program is located.

Enter the following uninstall command

httpd –k uninstall
Copy after login

2. You can also enter the control panel, management tools, and services. Look at the service name of the apache program. For example, apache

cmd runs the following command:

net stop apache
sc delete apache
Copy after login

2. How to delete the Apache service under the 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 Apache related knowledge, please visit the Apache usage tutorial column !

The above is the detailed content of How to uninstall apache server. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!