1、运行services.msc,在服务中停止 apache 服务。

2、运行命令行程序,输入 sc delete apache2.X,删除该服务。

3、删除apache文件夹。