Doc #52156 [Opn->Dup]: ./configure option --enable-discard-path is missing
| From: | kalle@php.net | Date: | Wed, 20 Oct 2010 03:16:47 +0000 |
| Subject: | Doc #52156 [Opn->Dup]: ./configure option --enable-discard-path is missing | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5266@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52156&edit=1
ID: 52156
Updated by: kalle@php.net
Reported by: j dot bayer at spedion dot de
Summary: ./configure option --enable-discard-path is missing
-Status: Open
+Status: Duplicate
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.3.2
Block user comment: N
New Comment:
Dublicate of #51419, please follow that bug for updates on the matter.
Previous Comments:
------------------------------------------------------------------------
[2010-06-23 12:39:21] j dot bayer at spedion dot de
php5.3.2-src/sapi/cgi/CHANGES:
In PHP5.3 all additional configure options (except --enable-cgi) are
removed:
--enable-fastcgi CGI: If this is enabled, the cgi module
will
be built with support for fastcgi also
Now fastcgi is always enabled
--disable-path-info-check CGI: If this is disabled, paths such as
/info.php/test?a=b will fail to work
Now it is enabled by default, but can be
disabled
with ini directive "cgi.fix_pathinfo=0"
--enable-force-cgi-redirect
CGI: Enable the security check for internal
server
redirects. You should use this if you are
running the CGI version with Apache
Now it is enabled by default, but can be
disabled
with ini directive "cgi.force_redirect=0"
--enable-discard-path CGI: If this is enabled, the PHP CGI binary
can safely be placed outside of the
web tree and people will not be able
to circumvent .htaccess security
This option had effect only with
--disable-path-info-check or
"cgi.fix_pathinfo=0".
Seems it needs only for CGI configuration
that
require each script start from "#!
/usr/bin/php".
Now it is disabled by default, but can be
enabled
with ini directive "cgi.discard_path=1"
------------------------------------------------------------------------
[2010-06-23 12:14:57] j dot bayer at spedion dot de
Description:
------------
If it has been removed, the documentation is not correct.
Does exist any similar workaround?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52156&edit=1