Doc #65022 [NEW]: fast-cgi doc is potentially confusing
| From: | uzimac at da3m0n8t3r dot com | Date: | Thu, 13 Jun 2013 03:16:40 +0000 |
| Subject: | Doc #65022 [NEW]: fast-cgi doc is potentially confusing | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-9927@lists.php.net to get a copy of this message | ||
From: uzimac at da3m0n8t3r dot com
Operating system: FreeBSD 10.0-CURRENT
PHP version: 5.4.16
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:fast-cgi doc is potentially confusing
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 bug report at https://bugs.php.net/bug.php?id=65022&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65022&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65022&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65022&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65022&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65022&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65022&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65022&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65022&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65022&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65022&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65022&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65022&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65022&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65022&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65022&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65022&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65022&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65022&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65022&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65022&r=mysqlcfg