php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52156 ./configure option --enable-discard-path is missing
Submitted: 2010-06-23 12:14 UTC Modified: 2010-10-20 05:16 UTC
From: j dot bayer at spedion dot de Assigned:
Status: Duplicate Package: Documentation problem
PHP Version: 5.3.2 OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: j dot bayer at spedion dot de
New email:
PHP Version: OS:

 

 [2010-06-23 12:14 UTC] j dot bayer at spedion dot de
Description:
------------
If it has been removed, the documentation is not correct.
Does exist any similar workaround?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-06-23 12:39 UTC] j dot bayer at spedion dot de
-Type: Bug +Type: Documentation Problem -Package: *Compile Issues +Package: Documentation problem
 [2010-06-23 12:39 UTC] 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-10-20 05:16 UTC] kalle@php.net
-Status: Open +Status: Duplicate
 [2010-10-20 05:16 UTC] kalle@php.net
Dublicate of #51419, please follow that bug for updates on the matter.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC