php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53745 cgi.discard_path option is missing from php.ini-production/development
Submitted: 2011-01-14 13:11 UTC Modified: 2016-09-26 15:12 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: mcs at darkregion dot net Assigned: cmb (profile)
Status: Closed Package: PHP options/info functions
PHP Version: 5.3.5 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mcs at darkregion dot net
New email:
PHP Version: OS:

 

 [2011-01-14 13:11 UTC] mcs at darkregion dot net
Description:
------------
As of PHP 5.3.0, the --enable-discard-path configure option is no longer available and the preferred means to configure it is via php.ini (correct?).  However, the cgi.discard_path option is not available in the stock php.ini-production and php.ini-development files that come with PHP 5.3.5.

I wasn't sure if it was overlooked or if there was a reason behind it's exclusion.

I couldn't find a related bug report, so I filed this one.  Please excuse if this has already been discussed.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-14 13:23 UTC] mcs at darkregion dot net
Here is the list of core configure options that I'm following for this information:
http://www.php.net/manual/en/configure.about.php
 [2016-09-26 15:12 UTC] cmb@php.net
-Status: Open +Status: Verified -Type: Feature/Change Request +Type: Bug -Assigned To: +Assigned To: cmb
 [2016-09-26 15:12 UTC] cmb@php.net
The omission of cgi.discard_path and cgi.check_shebang_line seems
to be a bug.
 [2016-09-26 16:46 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4f0960a800202323ac0b9d1d8041ad8dce31db98
Log: Fix #53745: cgi.discard_path option is missing from php.ini
 [2016-09-26 16:46 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2016-10-17 10:07 UTC] bwoebi@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4f0960a800202323ac0b9d1d8041ad8dce31db98
Log: Fix #53745: cgi.discard_path option is missing from php.ini
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 14:01:36 2025 UTC