Req #36943 [Com]: SCGI support

From: Date: Sun, 22 Sep 2013 20:12:40 +0000
Subject: Req #36943 [Com]: SCGI support
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-181741@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=36943&edit=1

 ID:                 36943
 Comment by:         a at b dot com
 Reported by:        webstorm at netcourrier dot com
 Summary:            SCGI support
 Status:             Open
 Type:               Feature/Change Request
 Package:            Other web server
 Operating System:   Windows
 PHP Version:        5.1.2
 Block user comment: N
 Private report:     N

 New Comment:

Fast-CGI ties up the CGI until the request is handled.  SCGI allows multiple requests to be
concurrently handled by a single CGI.  This matters if handling one request has significant latency.

Apache 2.5 does not support fast-cgi out of the box and I think mod_proxy_fastcgi has fallen prey to
bitrot; I could not make it compile.


Previous Comments:
------------------------------------------------------------------------
[2010-03-15 18:17:27] pajoye@php.net

> SCGI is supported by Apache, FastCGI is not.  Go ahead.

FastCGI is actually supported by apache and next versions should have it included.

------------------------------------------------------------------------
[2010-03-15 18:14:38] peter_jones_jr at yahoo dot com

Please discuss this on the PHP mailing list before sending feature requests.

PHP should not support each and every protocol out there, especially if it has NO advantage over
FastCGI. From the "spec":

"When the SCGI server sees the end of the request it sends back a response and closes the
connection. The format of the response is not specified by this protocol."

This "protocol spec" doesn't make any sense to me. 

Note that there are several Java FastCGI servlets available, so there's no need to add more
complexity to the PHP core.

------------------------------------------------------------------------
[2007-09-23 08:43:11] js at iksz dot hu

SCGI is supported by Apache, FastCGI is not.  Go ahead.

------------------------------------------------------------------------
[2006-04-02 14:04:44] webstorm at netcourrier dot com

I tried to use FastCGI but I have 2 problems :
  1) I didn't found the FastCGI binaries, do i need to recompile source (i'm using
Windows) ?
  2) According to the FastCGI specification, when the FastCGI is started, the web server have to
pass the handle (file number) of the opened socket to the FastCGI. How can this be done with Java ?

------------------------------------------------------------------------
[2006-04-01 20:55:39] scottmacvicar at ntlworld dot com

It's just another FastCGI type protocol but far easier to implement, see http://python.ca/nas/scgi/protocol.txt for the
spec.

Creating a SCGI API would be fairly straight forward.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=36943


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=36943&edit=1


Thread (9 messages)

« previous php.bugs (#181741) next »