win 7下卸载Apache

来源:互联网 发布:阿里云数据库连接工具 编辑:程序博客网 时间:2024/05/18 09:22

前言

本文给出卸载Apache的方法及在卸载过程中遇到的问题,并给出了解决方案。

方法

下面是步骤:

  1. 打开我的电脑
  2. 找到并打开Apache的安装目录(Program Files\Apache Software
    Foundation\Apache\bin)
  3. 按住Shift的同时在空白处右击,选择”从此处打开命令行”
  4. 输入”httpd -k uninstall” 确定
  5. 打开控制面板,进入程序和功能
  6. 找到”Apache HTTP Server”,右键选择卸载,根据提示一步步进行,之后重启电脑
  7. 再次来到安装Apache的Program Files文件夹,按住Shift右键选择删除

遇到的问题

执行步骤4 时,报如下错误:

Access is denied.  : Apache2.2: OpenService failed

解决方法:

while opening the command prompt you have to open it as ” run as administrator” then you can able to start/stop the apache server succesfully in windows

steps to start/stop apache server in windows: click on start menu –> enter cmd in search box –> right click on cmd –> Run as Administrator –> go to the bin folder of apache server –> httpd -k uninstall

参考:

从Windows中卸载Apache

0 0
原创粉丝点击