时间: 2021-07-31 作者:daque
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 ...