- 下载符合当前版本的apache源码,解压
- cd 到模块的源代码目录
- 执行/path/to/apache/bin/apxs -c -i mod_name.c (在当前目录生成.so,同时复制到相应的安装目录,需要权限)
- 修改httpd.conf
Search
Latest Posts
RSSLatest Comments
RSS- yangdongxing on the post 为已安装的apache追加一个模块
- yangdongxing on the post 解决:“NetworkManager could not find required resources”
- admin on the post ubuntu linux下使用.cue对flac/ape分轨及转码
- shellex on the post ubuntu linux下使用.cue对flac/ape分轨及转码
- yangdongxing on the post 我的2008年度计划
- yangdongxing on the post 我的2008年度计划
Advertise
My Twitter
- 清明看樱花去~ 2008-04-02
- 买了个跳舞毯玩玩~ 2008-02-18
- 周末西单偶遇刘若英and创意市集 2008-01-27
- 合租服务器Mysql当掉,郁闷,不过很快又恢复了,在联系后 2008-01-23
- 葫芦鸡听好吃的 2008-01-23
- More updates...
Posting tweet...









给你个建议, 以后写 unix 命令的时候,记得标注些解释:
eg:
/path/to/apache/bin/apxs -c -i mod_name.c
什么意思? -c ????? -i ???????