正在检查登录状态... | 繁體中文 | 设为首页 | 加入收藏
点击:617 | 评论:0 | 辅助功能: 复制 | 打印 | 字体: | |

Apache2.29静态编译mod_perl指南

作者: 蓝天下云层上 发表于 最后更新于
版权声明:转载请征求作者同意,转载时必以超链接形式标明文章原始出处和作者信息及版权声明。
/blog/weblog-20557-1.html
下载httpd.2.2.9
wget http://apache.freelamp.com/httpd/httpd-2.2.9.tar.gz
下载mod_perl
wget http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz

tar -xvzf httpd-2.2.9.tar.gz
tar -xvzf mod_perl-2.0-current.tar.gz
cd mod_perl-2.0.4
perl Makefile.PL MP_USE_STATIC=1 MP_AP_PREFIX=/tmp/httpd-2.2.9 MP_AP_CONFIGURE="--prefix=/opt/www --with-mpm=worker --enable-so --enable-mods-shared='all'"
make
make install

把apache作为服务启动
http://www.imx365.net/blog/weblog-20555-1.html

在命令行使用:
/opt/www/bin/httpd -l
Compiled in modules:
core.c
mod_perl.c
worker.c
http_core.c
mod_so.c


如果看到mod_perl.c即表示已经编译进apache内核中了.

此日志的引用通告 URL:
http://www.imx365.net/blog/tb.cgi/20557

其实我一直都不知道您在想些什么,有什么感触。说真的,您的评论对于我来说很重要...

还没有人评论过

发表评论
  • (地址不公开)

(访客)