linux 缺少解析文件夹,Linux中编译apache服务器modules文件夹缺少模块(.so)的问题

in modules directory i have only httpd.exp and so files?

hello all,

im trying to install apache 2 on fedora core 3 after untar apache.2.0.54 and use configure with option --enable-so or --enable-modules=so ( i tried both )

make and make install, i expect to have the modules in /apache2/modules/ but the folder contain only 1 file httpd.exp. why? whats wrong?

some help ?

thank you

在modules目录中只有httpd.exp,那些so文件呢?

我尝试在fedora core 3中安装apache 2. 当我解压了apache 2.0.54后使用configure工具并且加入了 --enable-so 或者 --enable-modules=so (两个我都试过了)

去make并且make install了。我希望在/apache2/modules/目录里有各种模块,但是这个文件最后只包含了一个httpd.exp文件。 为什么?哪里出错了?

谢谢

Because you're just telling apache to enable the use of shared modules. You also need to tell it to MAKE the shared modules.

You can use these compile flags:

--enable-mods-shared='headers rewrite dav' (where you list the mods. you want)

--enable-mods-shared=most ( compiles "most" modules )

--enable-mods-shared=all ( compiles all modules )

因为你只告诉了apache可以使用共享模块。你还需要告诉它要MAKE共享模块

你可以使用如下的这些编译标志

--enable-mods-shared='headers rewrite dav' (凡是你想编译的模块都可以写到后边的引号里面,以空格分隔)

--enable-mods-shared=most (编译最多的模块)

--enable-mods-shared=all (编译所有模块)

当我按照上面的方法使用命令 ./configure --enable-so --enable-mods-shared=most 之后,果然编译出了很多的模块,问题解决了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值