文章搜索: 分类 关键字

   您的位置:首页网络编程Cgi专区 → 实战 FastCGI_2. 安装 FastCGI之二
实战 FastCGI_2. 安装 FastCGI之二
日期:2006-3-12 2:49:55 人气:     [ ]
2.1.1 标准安装 (利用 APACI)

1. 首先下载 apache_1.3.6.tar.gz 及 mod_fastcgi_2.2.2.tar.gz ,解开:

$ gunzip -c apache_1.3.6.tar.gz | tar xvf -
$ gunzip -c mod_fastcgi_2.2.2.tar.gz | tar xvf -

2. 把 mod_fastcgi 的原始码复制到 Apache 的目录下:

$ cp -rp mod_fastcgi_2.2.2 apache_1.3.6/src/modules/fastcgi

3. 设定 Apache 加入 mod_fastcgi 模块:

$ cd apache_1.3.6
$ ./configure
-activate-module=src/modules/fastcgi/libfastcgi.a
-enable-module=info -enable-shared=info
[ more APACI options ]

4. 编译及安装

$ make
$ make install

5. 看一下编译出来的执行文件是否含有 mod_fastcgi 模块:

$ /usr/local/apache/sbin/httpd -l
Compiled-in modules:
http_core.c
...
mod_fastcgi.c
...

出处:CnCode转载收集 作者:不详
<---->
 
| 关于本站 | 帮助(?) | 广告服务 | 版权声明 | 业务合作 | 发展历程 | 加盟我们 | 联系我们 | 中国源码中心 ≮为您提供建站帮助≯

  中国源码中心 版权所有 Copyright© 2002-2006 Www.CnCode.Com, All Rights Reserved. Powered By 中国源码中心