Linux中编译apache服务器modules文件夹缺少模块(.so)的问题
2011-11-16 16:25
183 查看
下文翻译自http://forums.devshed.com/apache-development-15/in-modules-directory-i-have-only-httpd-exp-and-so-286713.html
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 之后,果然编译出了很多的模块,问题解决了。
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 之后,果然编译出了很多的模块,问题解决了。
相关文章推荐
- Linux中编译apache服务器modules文件夹缺少模块(.so)的问题
- linux Apache设置https访问以及加载mod_ssl.so模块以及问题解决
- linux 关于编译模块缺少config.h而产生错误的问题
- Linux下编译出来的动态链接库缺少so后缀的问题解决
- Linux下编译安装Apache及模块
- Linux|UNIX下LAMP环境的搭建及常见问题[连载9编译Apache]
- LINUX下PHP编译添加相应的动态扩展模块so(不需要重新编译PHP,以openssl.so为例)
- Linux 源代码编译缺少头文件问题
- Linux下常见的~/.bashrc、/etc/profile、/etc/ld.so.config小科普以及caffe编译遇到的相关问题解决
- Linux编译模块问题
- linux下编译.so 和.a 可能出现的问题 ?
- Linux apache 单独编译 动态加载模块
- 用 Apache 服务器模块保护您的网站免受应用层 DOS 攻击 | Linux 中国
- Apache 模块用C++ 编译时, AP_INIT_TAKE1 宏的问题
- Apache服务器运维笔记(2)----使用apxs来进行编译安装 mod_txt 模块
- Linux下安装apache指定安装模块or安装后编译加载其他模块
- LINUX下PHP编译添加相应的动态扩展模块so(不需要重新编译PHP,以openssl.so为例)
- Linux apache单独编译mod_rewrite.so
- 交叉编译apache服务器for ARM Linux
- 交叉编译apache服务器for ARM Linux