hege 发表于 2017-1-3 09:46:52

安装apache_2.0.59出错解决

  安装apache_2.0.59-win32-x86-no_ssl出错解决
1. 安装完成后,提示
   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
   Note the errors or messages above, and press the <ESC> key to exit. 
     (OS 2)系统找不到指定的文件。  : No installed
   service named "Apache2".
  2. 安装完成之后,操作系统右下角出现apache服务图标,但服务未启动。
   鼠标停留在图标上,提示“No services installed”。
   点击进入“Apache Service Monitor”界面, Service Status列表为空。
 
4. 解决方法:
将apache/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. 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
  5. 然后把apache装成WINDOWS的服务,方法是这样的。进入到/Apache Group/Apache2/bin/目录下,执行下面的命令:apache -k install,这样apache就做为windows的一项服务了,再启动apache就不出现上面的错误提示了。
  6. 再次运新apache2.0,运行成功。
页: [1]
查看完整版本: 安装apache_2.0.59出错解决