On Wed, Apr 18, 2001 at 01:58:03PM +0200, Alexander Skwar wrote:
> (Learning from my last mistake, I'll now try to make clear right away what
> each sentence means *G*)
>
> Introductory lines:
> I want to write a FastCGI compatible PHP script. In order to do so, PHP
> obviously need to recompile PHP with '--with-fastcgi'. However, looking at
> some PERL FastCGI scripts, I see that they mainly consist of a while loop
> like this:
>
> while( FCGI::accept() >= 0 ) {
> foo();
> FCGI::flush();
> }
>
> Questions:
> What are the PHP equivalents to FCGI::accept() and FCGI::flush()?
there is noe.
in fast-cgi mode you scripts are executed the same way as if
you were running as an apache module. there's no support to
keep your script alive over request-boundaries (yet).
tc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]