LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 546|回复: 0

起动Apache时出现的错误 ??

[复制链接]
发表于 2005-8-12 02:42:48 | 显示全部楼层 |阅读模式
Linux AS3.0
Apache2.0.54+MySql4.0.25+php4.4.0

配置httpd.conf
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
LoadModule php4_module        modules/libphp4.so
#

在 LoadModule php4_module        modules/libphp4.so 下加上一句   
   AddType application/x-httpd-php.php

接着
[root@localhost apache]# /usr/local/apache/bin/apachectl start
Syntax error on line 838 of /usr/local/apache/conf/httpd.conf:
AddType requires at least two arguments, a mime type followed by one or more file extensions

谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表