QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 901|回复: 1

添加apache扩展模块mod_deflate,出错!

[复制链接]
发表于 2005-12-19 12:54:08 | 显示全部楼层 |阅读模式
[code:1]
//安装apache
# tar jxvf httpd-2.0.55.tar.bz2 -C /opt
# cd /opt/httpd-2.0.55
# ./configure --prefix=/opt/apache --enable-so
# make && make install

//编译,添加deflate模块

# /opt/apache/bin/apxs -i -c /opt/httpd-2.0.55/modules/filters/mod_deflate.c

//在httpd.conf里添加
LoadModule deflate_module modules/mod_deflate.so

//启动apache出错
[root@test modules]# /opt/apache/bin/apachectl restart
Syntax error on line 233 of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/modules/mod_deflate.so into server: /opt/apache/modules/mod_deflate.so: undefined symbol: deflate

233行就是:
LoadModule deflate_module modules/mod_deflate.so[/code:1]

我的系统是RH AS4
 楼主| 发表于 2005-12-19 12:55:32 | 显示全部楼层
apche和模块的版本也是一致的!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-3 00:25 , Processed in 0.072306 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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