首页 > 技术文章 > Windows 怎么启动 apache

computer1-2-3 2019-08-03 17:43 原文

在可执行目录下找到httpd.exe命令,然后运行cmd,执行类似以下命令:
C:\"Program Files"\"Apache Software Foundation"\Apache2.2\bin\httpd.exe -k start
就可以启动服务了。

如果端口被占,你可以编辑.conf文件,更改监听端口,改之前备份conf文件。

推荐阅读