|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #65022 fast-cgi doc is potentially confusing
Submitted: 2013-06-13 03:16 UTC Modified: -
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: uzimac at da3m0n8t3r dot com Assigned:
Status: Open Package: Documentation problem
PHP Version: 5.4.16 OS: FreeBSD 10.0-CURRENT
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-06-13 03:16 UTC] uzimac at da3m0n8t3r dot com
two issues, in doc : config options

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 

Build PHP as FastCGI application. No longer available as of PHP 4.3.0, instead 
you should use --enable-fastcgi .

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.


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.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Oct 19 12:01:27 2019 UTC