设为首页
加入收藏
站内地图
旧版入口

实战 FastCGI_2. 安装 FastCGI之二

作者:佚名 出处:网络转载 时间:04-15 点击:

内容载入中...
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
...

收藏本文:
】【打印页面】【推荐给朋友】【关闭窗口

站长学院

推荐信息