安装appserv后,启动Apache时提示msvcr110.dll文件丢失,通过在360— —人工服务— —热门工具中搜索问题,并修复问题后,这个丢失msvcr110.dll文件的问题就没有了。但是启动时报错:AH00436: No installed service named"Apache2.4".
问题解决过程:
1.查看防火墙,已关闭。 --排除
2.查询80端口,使用netstat-ano查询本地是否用80端,经查询无80端口占用。--排除
3.apache的SRVROOT配置正确。 --排除
4.尝试安装apache,用管理员身份运行cmd,cd到apache的bin目录,输入命令:httpd.exe -k install.
Installing the 'Apache2.4' service
The 'Apache2.4' service is successfullyinstalled.
Testing httpd.conf....
Errors reported here must be corrected beforethe service can be started.
已安装成功。 再次尝试启动apache,输入命令:httpd.exe-k start,启动成功。浏览器地址栏输入访问地址:http:localhost,显示apache页面。