|  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: 2020-08-14 09:00 UTC
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: cmb (profile)
Status: Not a bug Package: Documentation problem
PHP Version: 5.4.16 OS: FreeBSD 10.0-CURRENT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: uzimac at da3m0n8t3r dot com
New email:
PHP Version: OS:


 [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


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-08-14 09:00 UTC]
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2020-08-14 09:00 UTC]
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.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jul 23 21:01:24 2021 UTC