启动apache的时候输入:httpd -k start 出现如下错误:

Apache No installed service named "Apache2.4

说明windows下还没有安装如下服务。

解决办法:

httpd.exe -k install -n "Apache2.4"