Apache没法启动的问题

安装appserv后,启动Apache时提示msvcr110.dll文件丢失,经过在360— —人工服务— —热门工具中搜索问题,并修复问题后,这个丢失msvcr110.dll文件的问题就没有了。可是启动时报错:AH00436: No installed service named"Apache2.4".apache

 

问题解决过程:浏览器

1.查看防火墙,已关闭。  --排除app

2.查询80端口,使用netstat-ano查询本地是否用80端,经查询无80端口占用。--排除工具

3.apache的SRVROOT配置正确。 --排除spa

4.尝试安装apache,用管理员身份运行cmd,cd到apache的bin目录,输入命令:httpd.exe -k install.cmd

Installing the 'Apache2.4' service配置

The 'Apache2.4' service is successfullyinstalled.搜索

Testing httpd.conf....service

Errors reported here must be corrected beforethe service can be started.防火墙

已安装成功。  再次尝试启动apache,输入命令:httpd.exe-k start,启动成功。浏览器地址栏输入访问地址:http:localhost,显示apache页面。

相关文章
相关标签/搜索