[PHP-users 12956] Re: fastcgi について

Youichi Iwakiri php-users@php.gr.jp
Tue, 04 Feb 2003 11:56:22 +0900


Osamu Shigematsu wrote in <20030203105737.D4FB.M5ISSIGE@mr.hitachi-medical.co.jp> :
>Server API     CGI/FastCGI
>のように表示されるんですが、PHP 4.3.0 の release note には、
>- いくつかの非推奨の拡張モジュール(aspell, ccvs, cybercash, icap)とSAPI
>  (fastcgi, fhttpd)が削除されました
>とあります。

私も、fastcgiサポートは、打ち切られたと思ったんですが、
Windows用のphp-cgiを使ったところ

c:\php>php -v
PHP 4.3.0 (cgi-fcgi), Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies

と出力されたので、気になっていたので、調べました。

at Mon, 07 Oct 2002 13:06:39 -0700
Shane Caraveo wrote in <3DA1E94F.6050503@caraveo.com> :
>I'd like to make sure fastcgi is well supported in 4.3.  I spent some
>time over the weekend working on this and have some patches that I'll
>try to get into the tree in the next day or so.  I haven't commited them
>yet as I am having problems getting it to work with
>apache2-win32/mod_fastcgi (a mod_fastcgi configuration issue I'm trying
>to figure out).  I don't have the time however to do any testing on
>linux with this, and linux also needs build changes (more on this below).
>
>Some months ago I integrated the fastcgi sapi module into the cgi module
>for a couple reasons.  One was the lack of support for a bunch of stuff
>in the fastcgi module which the cgi module already had.  I felt that
>rather than maintaining the same code/features in two different modules,
>that a single module would be better.  Another reason was that I wanted
>one executable rather than multiple executables (I still see php-cli and
>php-cgi seperation as a downside).  There is also a somewhat customized
>libfcgi under sapi/cgi directory.  This primarily contains bug fixes for
>win32, and changes to make the library a better fit for PHP (ie. not
>calling exit on errors).

開発者の方が、4.3でcgi-sapiと統合した方が、別モジュールとして開発する
よりもメンテナンスもしやすいだろうと判断したようです。

># fastcgi については、よく知らないのですが、「fast」という響きに
># つられて試してみようと思った次第です。

結果を教えて下さい :)

-- 
Youichi Iwakiri