#51075 [Ana]: Default value for "cgi.fix_pathinfo" in docu is wrong

From: Date: Fri, 19 Feb 2010 13:43:38 +0000
Subject: #51075 [Ana]: Default value for "cgi.fix_pathinfo" in docu is wrong
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3945@lists.php.net to get a copy of this message
ID: 51075 Updated by: bjori@php.net Reported By: info at hagric dot de Status: Analyzed Bug Type: Documentation problem PHP Version: Irrelevant New Comment: That INI setting is only relevant (and only available) when using the F/CGI SAPI, in which case the default value is 1. Previous Comments: ------------------------------------------------------------------------ [2010-02-18 00:48:44] philip@php.net I don't either, but wanted to quickly mention that these default values come from doc-base/scripts/iniupdate/* so it'll have to be taken into account while dealing with this bug. ------------------------------------------------------------------------ [2010-02-18 00:14:57] degeberg@php.net -Status: Open +Status: Analyzed Seems that it defaults to '1' on the CGI SAPI, but to '0' on the CLI SAPI on both the 5.2 and 5.3 branch. I haven't tested other SAPIs. Additionally, the "default" php.ini claims it defaults to '1', the table in this bug report says '1' and the description on http://php.net/ini.core#ini.cgi.fix-pathinfo says '0'. I'm not sure what would be the best way to document this in the table. ------------------------------------------------------------------------ [2010-02-18 00:00:50] info at hagric dot de Sorry... i forgot to tell you the link... Here it comes: http://php.net/manual/en/ini.core.php ------------------------------------------------------------------------ [2010-02-17 23:58:22] info at hagric dot de Description: ------------ The table under the section 'Paths and Directories' says that the default value of 'cgi.fix_pathinfo' is '1' The description text for 'cgi.fix_pathinfo' says: "[...] Default is zero. [...]" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=51075&edit=1

« previous php.doc.bugs (#3945) next »