启动apache服务器时候出现异常解决方案

 

Syntax error on line 133 httpd.conf: ServerAdmin takes one argument

启动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
解决方法:
打开Apache2.2/conf下的httpd.conf文件,


# 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.
[email protected]
#
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.
[email protected]
#ServerAdmin

其实就是加上 “#”


你可能感兴趣的:(启动apache服务器时候出现异常解决方案)