Doc #65022 [Opn->Nab]: fast-cgi doc is potentially confusing
| From: | cmb@php.net | Date: | Fri, 14 Aug 2020 09:00:50 +0000 |
| Subject: | Doc #65022 [Opn->Nab]: fast-cgi doc is potentially confusing | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17786@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65022&edit=1
ID: 65022
Updated by: cmb@php.net
Reported by: uzimac at da3m0n8t3r dot com
Summary: fast-cgi doc is potentially confusing
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
Operating System: FreeBSD 10.0-CURRENT
PHP Version: 5.4.16
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
That part of the documentation looks about right. As of PHP
5.3.0, there is a single executable (php-cgi) which can be used as
CGI and FCGI processor.
Previous Comments:
------------------------------------------------------------------------
[2013-06-13 03:16:40] uzimac at da3m0n8t3r dot com
Description:
------------
two issues, in doc : config options
http://php.net/manual/en/configure.about.php
--enable-fastcgi
If this is enabled, the CGI module will be built with support for FastCGI also.
Available since PHP 4.3.0
As of PHP 5.3.0 this argument no longer exists and is enabled by --enable-cgi
instead.
--with-fastcgi
Build PHP as FastCGI application. No longer available as of PHP 4.3.0, instead
you should use --enable-fastcgi .
--disable-cgi
Disable building CGI version of PHP. Available with PHP 4.3.0.
As of PHP 5.3.0 this argument enables FastCGI which previously had to be enabled
using --enable-fastcgi.
does not seem to be --enable-fastcgi or --enable-cgi options, but --disable-cgi
appears to build PHP as a FastCGI.
ALSO
sapi/cgi/README.FastCGI appears to be incorrect.
it reads:
"Building PHP
------------
You must add '--enable-fastcgi' to the configure command on Linux or
OSX based systems to get fastcgi support in the php-cgi binary. You
also must not use '--enable-discard-path'."
Seems this should be '--disable-cgi' to enable fastcgi.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65022&edit=1