配置安装Apache主服务发生错误:(OS 5)拒绝访问。 : AH00369: Failed to open the Windows service manager, perhaps you forgot to log in as Adminstrator?
具体情况:
在配置安装Apache的时候,我下载的是zip格式,不是msi安装版,需要自己注册服务,才能在桌面任务栏里有httpd的图标。
结果在cmd命令行里输入安装服务命令的时候出错,出错信息界面如下:
错误信息提示我没有用管理员身份登录!
解决办法:
打开cmd程序的时候以管理员身份运行就行了。
正常安装完毕:Errors reported here must be corrected before the service can be started.
(若该句话后面有错误信息,则表示服务安装失败,需要先改正错误。若没有,则成功。)
注:Apache下载(百度网盘):链接:http://pan.baidu.com/s/1gdAVGPH 密码:8v16