宇文氏 发表于 2017-1-5 08:42:05

apache Syntax error on line 133

今天装Apache 2.2.9,装的时候老是出现这个错误提示:

Syntax error on line 133 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:

ServerAdmin takes one argument, The email address of the server administrator

Note the errors or messages above, and press the <ESC> key to exit. 24...

打开httpd.conf看了看,发现133行是这样的东西:

#

# 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

终于启动了。
页: [1]
查看完整版本: apache Syntax error on line 133