php.net |  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: -
Votes:2
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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: uzimac at da3m0n8t3r dot com
New email:
PHP Version: OS:

 

 [2013-06-13 03:16 UTC] 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.




Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC