From 7a525a0f97836e2bb5708b2adab7231b711cbd74 Mon Sep 17 00:00:00 2001 From: Daniel Egeberg Date: Wed, 24 Feb 2010 09:28:48 +0000 Subject: [PATCH] Fixed PHP bug #51075 (Default value for cgi.fix_pathinfo in docu is wrong) + a little cleaning git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295458 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/ini.xml | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/appendices/ini.xml b/appendices/ini.xml index 949826a04c..818c73d014 100644 --- a/appendices/ini.xml +++ b/appendices/ini.xml @@ -4992,11 +4992,12 @@ include_path=".;c:\php\includes" - Controls whether CGI PHP checks for line starting with #! (shebang) - at the top of the running script. This line might be needed if the - script support running both as stand-alone script and via PHP CGI. - PHP in CGI mode skips this line and ignores its content if this - directive is turned on. + Controls whether CGI PHP checks for line starting + with #! (shebang) at the top of the running script. + This line might be needed if the script support running both as + stand-alone script and via PHP CGI. PHP in + CGI mode skips this line and ignores its content if + this directive is turned on. @@ -5008,14 +5009,18 @@ include_path=".;c:\php\includes" - Provides real PATH_INFO/PATH_TRANSLATED - support for CGI. PHP's previous behaviour was to set - PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok what PATH_INFO - is. For more information on PATH_INFO, see the cgi specs. Setting - this to 1 will cause PHP CGI to fix it's paths to conform to the - spec. A setting of zero causes PHP to behave as before. Default - is zero. You should fix your scripts to use SCRIPT_FILENAME rather - than PATH_TRANSLATED. + Provides real PATH_INFO/ + PATH_TRANSLATED support for CGI. + PHP's previous behaviour was to set PATH_TRANSLATED + to SCRIPT_FILENAME, and to not grok what + PATH_INFOis. For more information on + PATH_INFO, see the CGI specs. + Setting this to 1 will cause PHP + CGI to fix its paths to conform to the spec. A + setting of zero causes PHP to behave as before. It is turned on by + default. You should fix your scripts to use + SCRIPT_FILENAME rather than + PATH_TRANSLATED. @@ -5028,8 +5033,9 @@ include_path=".;c:\php\includes" cgi.force_redirect is necessary to provide security running PHP as a - CGI under most web servers. Left undefined, PHP turns this on by - default. You can turn it off at your own risk. + CGI under most web servers. Left undefined, PHP + turns this on by default. You can turn it off at your own + risk.