论坛首页 入门技术论坛

解状WinXP下Apache启动出错问题

浏览 2260 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2008-03-25  

安装apache2.0.59后启动错误错误一:
No services installed错误二:
D:\Program Files\Apache Group\Apache2\bin>apache.exe -k install -n apache2
Syntax error on line 198 of D:/Program Files/Apache Group/Apache2/conf/httpd.conf:
ServerAdmin takes one argument, The email address of the server administrator
我用了apache2.0.59和apache2.2.3都是同样的错误,于是上网找答案,问题解决了,可是原理不明白,如果有谁明白请解答。

错误二解决:
启动Apache Start时出现异常:
Syntax error on line 198 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
ServerAdmin takes one argument, The email address of the server administrator
解决方法:

# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g.
admin@your-domain.com
#
ServerAdmin改为:
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g.
admin@your-domain.com
#ServerAdmin错误一解决:
安装好之后遇到一个错误提示:“No services installed”解决办法: 
运行--->cmd-->键入:   d:    注释:进入D盘,由于我的apache安装在D盘键入:   cd apache2   注释:进入D:\apache2\目录
键入:   cd bin   注释:进入D:\apache2\bin\ 目录
键入: apache.exe -k install -n apache2   注释:添加了apache这个服务了,下面我们要启动它
键入:    net start apache2 注释:启动apache2服务
关闭服务器是: net stop apache2  OK,问题解决

论坛首页 入门技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics