`
yyyyy5101
  • 浏览: 152529 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论

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

终于启动了。
分享到:
评论

相关推荐

    centos5.5安装apache-2.2.22并配置反向代理

    这个软件就是通过apache反向代理方式实现效果,项目使用tomcat发布,apache代理服务至tomcat,这里tomcat的配置就列出来了

    vcredist2008sp1

    在修改httpd.conf支持php后,启动apache,报...命令符方式下启动Apache时提示错误信息“Syntax error on line 122 of Apache/conf/httpd.conf: Cannot load php5apache2_2.dll into server”,导致Apache无法启动。

    安装lamp报错信息及解决方法

    httpd: Syntax error on line 57 of /etc/httpd/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: xmlTextReaderSetup ...

    Apache启动提示错误undefined symbol: libiconv_open解决方法

    httpd: Syntax error on line 57 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol

    arm+linux+apache+php+sqlite

    可能会遇到错误提示:“Syntax error on line 233 of /usr/conf/httpd.conf: API module structure `php5_module` in file /usr/modules/libphp5.so is garbled—perhaps this is not an Apache module DSO?...

    Using Perl For Web Programming.pdf

    User Authentication on the Apache Server Access Restrictions H G CONTENTS http://docs.rinet.ru:8080/Using_Perl5_in_Web/ (4 of 24) [2/17/2007 1:22:34 PM] Apache Configuration Files H Configuration ...

    php英文开发文档

    •Language Reference•Basic syntax •Types •Variables •Constants •Expressions •Operators •Control Structures •Functions •Classes and Objects •Namespaces •Exceptions •Generators •References ...

    Ubuntu 12.04 x64 编译安装lamp的步骤

    如果在配置过程中出现与 mod_deflate 相关的错误,例如 `AH00526: Syntax error on line 490 of /usr/local/apache2/conf/httpd.conf: Unknown filter provider DEFLATE` 或者 `httpd: Syntax error on line 101 of...

    php.ini-development

    you may only use these constants *after* the line that loads the extension. ;;;;;;;;;;;;;;;;;;; ; About this file ; ;;;;;;;;;;;;;;;;;;; ; ...

    Practical Mod Perl

    Validating the Configuration Syntax Section 4.6. The Scope of mod_perl Configuration Directives Section 4.7. Apache Restarts Twice Section 4.8. Enabling Remote Server Configuration ...

    Python Cookbook, 2nd Edition

    Reading a Specific Line from a File Recipe 2.5. Counting Lines in a File Recipe 2.6. Processing Every Word in a File Recipe 2.7. Using Random-Access Input/Output Recipe 2.8. Updating a Random...

    php语法检查的方法总结

    ' in lint_test.php on line 2 ``` 这告诉我们错误是在第2行,由于文件末尾缺少分号导致。修复这个错误,添加分号: ```php &lt;?phpecho "error"; ``` 再次运行`php -l`命令,会得到`No syntax errors ...

    Python for Bioinformatics 第二版,最新版

    1.2.5 Online Resources Related to This Book 7 1.3 WHY LEARN TO PROGRAM? 7 1.4 BASIC PROGRAMMING CONCEPTS 8 1.4.1 What Is a Program? 8 1.5 WHY PYTHON? 10 1.5.1 Main Features of Python 10 1.5.2 ...

    FastReport.v4.15 for.Delphi.BCB.Full.Source企业版含ClientServer中文修正版支持D4-XE5

    - [enterprise] fixed bug with error pages - fixed bug in XML export with the ShowProgress property - fixed bug in RTF export with font size in empty cells - fixed bug in ODF export with UTF8 encoding ...

Global site tag (gtag.js) - Google Analytics