配置Apache2支持FastCGI 升级到MT3.34

网友投稿 2653 2022-10-27

本站部分文章、图片属于网络上可搜索到的公开信息,均用于学习和交流用途,不能代表睿象云的观点、立场或意见。我们接受网民的监督,如发现任何违法内容或侵犯了您的权益,请第一时间联系小编邮箱jiasou666@gmail.com 处理。

配置Apache2支持FastCGI 升级到MT3.34

看到很多

朋友

已经将MT升级到了MT3.34,今天也忍不住升级一下。

首先要安装FastCGI支持,从fastcgi网站下载:

[root@eygle tmp]# wget http://fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz--13:41:43-- http://fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz => `mod_fastcgi-2.4.2.tar.gz'正在解析主机 fastcgi.com... 209.212.66.200Connecting to fastcgi.com|209.212.66.200|:80... 已连接。已发出 HTTP 请求,正在等待回应... 200 OK长度:98,295 (96K) [application/x-tar]100%[======================================================>] 98,295 95.38K/s 13:41:47 (95.19 KB/s) - `mod_fastcgi-2.4.2.tar.gz' saved [98295/98295]

我的Apache用的是2.2.0版本,安装参考INSTALL.AP2文件,遵循如下步骤:

*NIX ==== $ cd $ cp Makefile.AP2 Makefile $ make $ make install If your Apache2 installation isn't in /usr/local/apache2, then set the top_dir variable when running make (or edit the Makefile), e.g. $ make top_dir=/opt/httpd/2.0.40 Add an entry to httpd.conf like this: LoadModule fastcgi_module modules/mod_fastcgi.so

可是不幸得是,Make的时候就遇到一堆的错误:

[root@eygle mod_fastcgi-2.4.2]# make top_dir=/opt/httpd-2.2.0//opt/httpd-2.2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/opt/httpd-2.2.0//srclib/pcre -I. -I/opt/httpd-2.2.0//os/unix -I/opt/httpd-2.2.0//server/mpm/prefork -I/opt/httpd-2.2.0//modules/http -I/opt/httpd-2.2.0//modules/filters -I/opt/httpd-2.2.0//modules/proxy -I/opt/httpd-2.2.0//include -I/opt/httpd-2.2.0//modules/generators -I/opt/httpd-2.2.0//modules/mappers -I/opt/httpd-2.2.0//modules/database -I/opt/httpd-2.2.0/srclib/apr/include -I/opt/httpd-2.2.0/srclib/apr-util/include -I/opt/httpd-2.2.0//modules/proxy/../generators -I/opt/httpd-2.2.0//modules/ssl -I/opt/httpd-2.2.0//modules/dav/main -prefer-pic -c mod_fastcgi.c && touch mod_fastcgi.slomod_fastcgi.c: In function `init_module':mod_fastcgi.c:270: error: `ap_null_cleanup' undeclared (first use in this function)mod_fastcgi.c:270: error: (Each undeclared identifier is reported only oncemod_fastcgi.c:270: error: for each function it appears in.)mod_fastcgi.c: In function `process_headers':mod_fastcgi.c:725: warning: return makes pointer from integer without a castmod_fastcgi.c:729: warning: assignment makes pointer from integer without a castmod_fastcgi.c:739: warning: assignment makes pointer from integer without a castmod_fastcgi.c:768: warning: initialization makes pointer from integer without a castmod_fastcgi.c:838: warning: return makes pointer from integer without a castmod_fastcgi.c:842: warning: return makes pointer from integer without a castmod_fastcgi.c: In function `set_uid_n_gid':mod_fastcgi.c:1022: warning: passing arg 1 of `memcpy' makes pointer from integer without a castmod_fastcgi.c:1024: warning: assignment makes pointer from integer without a castmod_fastcgi.c:1033: warning: assignment makes pointer from integer without a castmod_fastcgi.c:1034: warning: assignment makes pointer from integer without a castmod_fastcgi.c: In function `do_work':mod_fastcgi.c:2321: error: `ap_null_cleanup' undeclared (first use in this function)mod_fastcgi.c: In function `create_fcgi_request':mod_fastcgi.c:2479: warning: assignment makes pointer from integer without a castmod_fastcgi.c:2492: warning: assignment makes pointer from integer without a castmod_fastcgi.c: In function `apache_is_scriptaliased':mod_fastcgi.c:2534: warning: initialization makes pointer from integer without a castmod_fastcgi.c: In function `post_process_for_redirects':mod_fastcgi.c:2559: warning: passing arg 1 of `ap_internal_redirect_handler' makes pointer from integer without a castmod_fastcgi.c: In function `check_user_authentication':mod_fastcgi.c:2682: warning: assignment makes pointer from integer without a castmod_fastcgi.c:2700: warning: comparison between pointer and integermod_fastcgi.c: In function `check_user_authorization':mod_fastcgi.c:2749: warning: assignment makes pointer from integer without a castmod_fastcgi.c:2765: warning: comparison between pointer and integermod_fastcgi.c: In function `check_access':mod_fastcgi.c:2809: warning: assignment makes pointer from integer without a castmod_fastcgi.c:2826: warning: comparison between pointer and integermake: *** [mod_fastcgi.slo] 错误 1

这个错误通过网上的一个

帖子

得到了解决,首先创建一个Patch文件:

[root@eygle mod_fastcgi-2.4.2]# vi a@@ -73,6 +73,36 @@ #define ap_reset_timeout(a) #define ap_unblock_alarms()+/* starting with apache 2.2 the backward-compatibility defines for+ * 1.3 APIs are not available anymore. Define them ourselves here.+ */+#ifndef ap_copy_table++#define ap_copy_table apr_table_copy+#define ap_cpystrn apr_cpystrn@@ -73,6 +73,36 @@ #define ap_reset_timeout(a) #define ap_unblock_alarms()+/* starting with apache 2.2 the backward-compatibility defines for+ * 1.3 APIs are not available anymore. Define them ourselves here.+ */+#ifndef ap_copy_table++#define ap_copy_table apr_table_copy+#define ap_cpystrn apr_cpystrn+#define ap_destroy_pool apr_pool_destroy+#define ap_isspace apr_isspace+#define ap_make_array apr_array_make+#define ap_make_table apr_table_make+#define ap_null_cleanup apr_pool_cleanup_null+#define ap_palloc apr_palloc+#define ap_pcalloc apr_pcalloc+#define ap_psprintf apr_psprintf+#define ap_pstrcat apr_pstrcat+#define ap_pstrdup apr_pstrdup+#define ap_pstrndup apr_pstrndup+#define ap_push_array apr_array_push+#define ap_register_cleanup apr_pool_cleanup_register+#define ap_snprintf apr_snprintf+#define ap_table_add apr_table_add+#define ap_table_do apr_table_do"a" [新] 38L, 1207C 已写入

然后应用这个patch文件:

[root@eygle mod_fastcgi-2.4.2]# patch -fcgi.h < a File to patch: fcgi.hpatching file fcgi.h

再次编译错误得到解决:

[root@eygle mod_fastcgi-2.4.2]# make/opt/httpd-2.2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/opt/httpd-2.2.0/srclib/pcre -I. -I/opt/httpd-2.2.0/os/unix -I/opt/httpd-2.2.0/server/mpm/prefork -I/opt/httpd-2.2.0/modules/http -I/opt/httpd-2.2.0/modules/filters -I/opt/httpd-2.2.0/modules/proxy -I/opt/httpd-2.2.0/include -I/opt/httpd-2.2.0/modules/generators -I/opt/httpd-2.2.0/modules/mappers -I/opt/httpd-2.2.0/modules/database -I/opt/httpd-2.2.0/srclib/apr/include -I/opt/httpd-2.2.0/srclib/apr-util/include -I/opt/httpd-2.2.0/modules/proxy/../generators -I/opt/httpd-2.2.0/modules/ssl -I/opt/httpd-2.2.0/modules/dav/main -prefer-pic -c mod_fastcgi.c && touch mod_fastcgi.slo/opt/httpd-2.2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/opt/httpd-2.2.0/srclib/pcre -I. -I/opt/httpd-2.2.0/os/unix -I/opt/httpd-2.2.0/server/mpm/prefork -I/opt/httpd-2.2.0/modules/http -I/opt/httpd-2.2.0/modules/filters -I/opt/httpd-2.2.0/modules/proxy -I/opt/httpd-2.2.0/include -I/opt/httpd-2.2.0/modules/generators -I/opt/httpd-2.2.0/modules/mappers -I/opt/httpd-2.2.0/modules/database -I/opt/httpd-2.2.0/srclib/apr/include -I/opt/httpd-2.2.0/srclib/apr-util/include -I/opt/httpd-2.2.0/modules/proxy/../generators -I/opt/httpd-2.2.0/modules/ssl -I/opt/httpd-2.2.0/modules/dav/main -prefer-pic -c fcgi_pm.c && touch fcgi_pm.slo/opt/httpd-2.2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/opt/httpd-2.2.0/srclib/pcre -I. -I/opt/httpd-2.2.0/os/unix -I/opt/httpd-2.2.0/server/mpm/prefork -I/opt/httpd-2.2.0/modules/http -I/opt/httpd-2.2.0/modules/filters -I/opt/httpd-2.2.0/modules/proxy -I/opt/httpd-2.2.0/include -I/opt/httpd-2.2.0/modules/generators -I/opt/httpd-2.2.0/modules/mappers -I/opt/httpd-2.2.0/modules/database -I/opt/httpd-2.2.0/srclib/apr/include -I/opt/httpd-2.2.0/srclib/apr-util/include -I/opt/httpd-2.2.0/modules/proxy/../generators -I/opt/httpd-2.2.0/modules/ssl -I/opt/httpd-2.2.0/modules/dav/main -prefer-pic -c fcgi_util.c && touch fcgi_util.slo/opt/httpd-2.2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/opt/httpd-2.2.0/srclib/pcre -I. -I/opt/httpd-2.2.0/os/unix -I/opt/httpd-2.2.0/server/mpm/prefork -I/opt/httpd-2.2.0/modules/http -I/opt/httpd-2.2.0/modules/filters -I/opt/httpd-2.2.0/modules/proxy -I/opt/httpd-2.2.0/include -I/opt/httpd-2.2.0/modules/generators -I/opt/httpd-2.2.0/modules/mappers -I/opt/httpd-2.2.0/modules/database -I/opt/httpd-2.2.0/srclib/apr/include -I/opt/httpd-2.2.0/srclib/apr-util/include -I/opt/httpd-2.2.0/modules/proxy/../generators -I/opt/httpd-2.2.0/modules/ssl -I/opt/httpd-2.2.0/modules/dav/main -prefer-pic -c fcgi_protocol.c && touch fcgi_protocol.slo/opt/httpd-2.2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/opt/httpd-2.2.0/srclib/pcre -I. -I/opt/httpd-2.2.0/os/unix -I/opt/httpd-2.2.0/server/mpm/prefork -I/opt/httpd-2.2.0/modules/http -I/opt/httpd-2.2.0/modules/filters -I/opt/httpd-2.2.0/modules/proxy -I/opt/httpd-2.2.0/include -I/opt/httpd-2.2.0/modules/generators -I/opt/httpd-2.2.0/modules/mappers -I/opt/httpd-2.2.0/modules/database -I/opt/httpd-2.2.0/srclib/apr/include -I/opt/httpd-2.2.0/srclib/apr-util/include -I/opt/httpd-2.2.0/modules/proxy/../generators -I/opt/httpd-2.2.0/modules/ssl -I/opt/httpd-2.2.0/modules/dav/main -prefer-pic -c fcgi_buf.c && touch fcgi_buf.slo/opt/httpd-2.2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/opt/httpd-2.2.0/srclib/pcre -I. -I/opt/httpd-2.2.0/os/unix -I/opt/httpd-2.2.0/server/mpm/prefork -I/opt/httpd-2.2.0/modules/http -I/opt/httpd-2.2.0/modules/filters -I/opt/httpd-2.2.0/modules/proxy -I/opt/httpd-2.2.0/include -I/opt/httpd-2.2.0/modules/generators -I/opt/httpd-2.2.0/modules/mappers -I/opt/httpd-2.2.0/modules/database -I/opt/httpd-2.2.0/srclib/apr/include -I/opt/httpd-2.2.0/srclib/apr-util/include -I/opt/httpd-2.2.0/modules/proxy/../generators -I/opt/httpd-2.2.0/modules/ssl -I/opt/httpd-2.2.0/modules/dav/main -prefer-pic -c fcgi_config.c && touch fcgi_config.slo/opt/httpd-2.2.0/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -o mod_fastcgi.la -rpath /opt/apache/modules -module -avoid-version mod_fastcgi.lo fcgi_pm.lo fcgi_util.lo fcgi_protocol.lo fcgi_buf.lo fcgi_config.lo[root@eygle mod_fastcgi-2.4.2]# make installmake[1]: Entering directory `/opt/mod_fastcgi-2.4.2'/opt/httpd-2.2.0/srclib/apr/libtool --silent --mode=install cp mod_fastcgi.la /opt/apache/modules/make[1]: Leaving directory `/opt/mod_fastcgi-2.4.2'make: *** 没有规则可以创建“install”需要的目标“install-modules”。 停止。

之后修改Apache的配置文件,增加一行:

LoadModule fastcgi_module modules/mod_fastcgi.so

再更改mt目录下相应的文件:

mv mt.cgi mt.fcgimv mt-comments.cgi mt-comments.fcgimv mt-tb.cgi mt-tb.fcgimv mt-view.cgi mt-view.fcgimv mt-search.cgi mt-search.fcgi

最后更改一下mt-config.cgi文件:

AdminScript mt.fcgi

CommentScript mt-comments.fcgi

TrackbackScript mt-tb.fcgi

SearchScript mt-search.fcgi

ViewScript mt-view.fcgi

现在重起Apache,服务器就应该运行在fastcgi模式下了,可是没那么简单,发现日志里面报错:

[Thu Feb 01 14:55:49 2007] [warn] FastCGI: (dynamic) server "/opt/apache/eygle.com/cgi-bin/mt/mt.fpl" restarted (pid 31719)Can't locate FCGI.pm in @INC (@INC contains: /opt/apache/eygle.com/cgi-bin/mt/extlib lib /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1

fastcgi不能定位FCGI.pm,原来perl还没装fcgi模块,赶快再装一个:

[root@eygle logs]# cpanTerminal does not support AddHistory.cpan shell -- CPAN exploration and modules installation (v1.7601)ReadLine support available (try 'install Bundle::CPAN')cpan> d /FCGI/CPAN: Storable loaded okGoing to read /root/.cpan/Metadata Database was generated on Wed, 17 Jan 2007 23:26:48 GMTCPAN: LWP::UserAgent loaded okFetching with LWP: ftp://mirrors.hknet.com/CPAN/authors/01mailrc.txt.gzGoing to read /root/.cpan/sources/authors/01mailrc.txt.gzCPAN: Compress::Zlib loaded okFetching with LWP: ftp://mirrors.hknet.com/CPAN/modules/02packages.details.txt.gzGoing to read /root/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Wed, 31 Jan 2007 23:28:14 GMT There's a new CPAN.pm version (v1.8802) available! [Current version is v1.7601] You might want to try install Bundle::CPAN reload cpan without quitting the current session. It should be a seamless upgrade while we are running...Fetching with LWP: ftp://mirrors.hknet.com/CPAN/modules/03modlist.data.gzGoing to read /root/.cpan/sources/modules/03modlist.data.gzGoing to write /root/.cpan/MetadataDistribution J/JU/JURACH/FCGI-ProcManager-0.17.tar.gzDistribution P/PE/PEVANS/FCGI-Async-0.07.tar.gzDistribution S/SK/SKIMO/FCGI-0.67.tar.gz3 items foundcpan> install S/SK/SKIMO/FCGI-0.67.tar.gzRunning make for S/SK/SKIMO/FCGI-0.67.tar.gzFetching with LWP: ftp://mirrors.hknet.com/CPAN/authors/id/S/SK/SKIMO/FCGI-0.67.tar.gzCPAN: Digest::MD5 loaded okFetching with LWP: ftp://mirrors.hknet.com/CPAN/authors/id/S/SK/SKIMO/CHECKSUMSChecksum for /root/.cpan/sources/authors/id/S/SK/SKIMO/FCGI-0.67.tar.gz okScanning cache /root/.cpan/build for sizesFCGI-0.67/FCGI-0.67/configure.inFCGI-0.67/threaded.PLFCGI-0.67/test.plFCGI-0.67/FCGI.XLFCGI-0.67/remote.PLFCGI-0.67/configure.readmeFCGI-0.67/version.pmFCGI-0.67/echo.PLFCGI-0.67/MANIFESTFCGI-0.67/typemapFCGI-0.67/fcgi_config.h.inFCGI-0.67/ChangeLogFCGI-0.67/FCGI.PLFCGI-0.67/configureFCGI-0.67/Makefile.PLFCGI-0.67/READMEFCGI-0.67/LICENSE.TERMSFCGI-0.67/fcgiapp.cFCGI-0.67/os_unix.cFCGI-0.67/os_win32.cFCGI-0.67/fastcgi.hFCGI-0.67/fcgiapp.hFCGI-0.67/fcgimisc.hFCGI-0.67/fcgios.hFCGI-0.67/fcgi_config_x86.h CPAN.pm: Going to build S/SK/SKIMO/FCGI-0.67.tar.gzChecking if your kit is complete...Looks goodWriting Makefile for FCGIRunning ./configure for youPlease read configure.readme for information on how to run it yourselfchecking for gcc... gccchecking for C compiler default output... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables... checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ANSI C... none neededchecking how to run the C preprocessor... gcc -Echecking for egrep... grep -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for ssize_t... yeschecking for sun_len in sys/un.h... nochecking for fpos_t in stdio.h... yeschecking sys/socket.h usability... yeschecking sys/socket.h presence... yeschecking for sys/socket.h... yeschecking netdb.h usability... yeschecking netdb.h presence... yeschecking for netdb.h... yeschecking netinet/in.h usability... yeschecking netinet/in.h presence... yeschecking for netinet/in.h... yeschecking arpa/inet.h usability... yeschecking arpa/inet.h presence... yeschecking for arpa/inet.h... yeschecking sys/time.h usability... yeschecking sys/time.h presence... yeschecking for sys/time.h... yeschecking limits.h usability... yeschecking limits.h presence... yeschecking for limits.h... yeschecking sys/param.h usability... yeschecking sys/param.h presence... yeschecking for sys/param.h... yeschecking for unistd.h... (cached) yeschecking for a fileno() prototype in stdio.h... yeschecking whether cross-process locking is required by accept()... nochecking whether va_arg(arg, long double) crashes the compiler... nochecking for an ANSI C-conforming const... yesconfigure: creating ./config.statusconfig.status: creating fcgi_config.h/usr/bin/perl "-Iblib/arch" "-Iblib/lib" FCGI.PL FCGI.pmGenerating FCGI.pmcp FCGI.pm blib/arch/FCGI.pm/usr/bin/perl "-Iblib/arch" "-Iblib/lib" FCGI.XL FCGI.xsGenerating FCGI.xs for Perl version 5.008005/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap FCGI.xs > FCGI.xsc && mv FCGI.xsc FCGI.cgcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\\"0.67\\" -DXS_VERSION=\\"0.67\\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" FCGI.cgcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\\"0.67\\" -DXS_VERSION=\\"0.67\\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" fcgiapp.cgcc -c -I. -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\\"0.67\\" -DXS_VERSION=\\"0.67\\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" os_unix.cRunning Mkbootstrap for FCGI ()chmod 644 FCGI.bsrm -f blib/arch/auto/FCGI/FCGI.sogcc -shared -L/usr/local/lib FCGI.o fcgiapp.o os_unix.o -o blib/arch/auto/FCGI/FCGI.so chmod 755 blib/arch/auto/FCGI/FCGI.socp FCGI.bs blib/arch/auto/FCGI/FCGI.bschmod 644 blib/arch/auto/FCGI/FCGI.bsManifying blib/man3/FCGI.3pm/usr/bin/perl "-Iblib/arch" "-Iblib/lib" echo.PL echo.fpl/usr/bin/perl "-Iblib/arch" "-Iblib/lib" remote.PL remote.fpl/usr/bin/perl "-Iblib/arch" "-Iblib/lib" threaded.PL threaded.fpl /usr/bin/make -- OKRunning make testPERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl1..1# Running under perl version 5.008005 for linux# Current time local: Thu Feb 1 14:59:37 2007# Current time GMT: Thu Feb 1 06:59:37 2007# Using Test.pm version 1.25ok 1 /usr/bin/make test -- OKRunning make installInstalling /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/FCGI.pmInstalling /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/FCGI/FCGI.bsInstalling /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/FCGI/FCGI.soFiles found in blib/arch: installing files in blib/lib into architecture dependent library treeInstalling /usr/share/man/man3/FCGI.3pmWriting /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/FCGI/.packlistAppending installation info to /usr/lib/perl5/5.8.5/i386-linux-thread-multi/perllocal.pod /usr/bin/make install -- OKcpan> quitTerminal does not support GetHistory.Lockfile removed.

现在Fastcgi终于生效了,不过没感觉有什么改善,有待进一步的观察!

参考文档:

http://lifewiki.net/sixapart/HostingMTUnderFastCGI

http://easun.org/archives/mt334_fastcgi.html

http://anysql.net/weblog/mt_fastcgi_scode.html

http://fastcgi.com/archives/fastcgi-developers/2005-December/004060.html

-The End-

上一篇:人工测试web应用
下一篇:REPL(交互式命令行)驱动开发
相关文章

 发表评论

暂时没有评论,来抢沙发吧~