svn: /phpdoc/en/trunk/install/ ini.xml
| From: | Gustavo André dos Santos Lopes | Date: | Tue, 07 Sep 2010 19:45:28 +0000 |
| Subject: | svn: /phpdoc/en/trunk/install/ ini.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7072@lists.php.net to get a copy of this message | ||
cataphract Tue, 07 Sep 2010 19:45:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=303145
Log:
- Detail on the scanning of per-dir ini files. Closing doc bug #52780.
Bug: http://bugs.php.net/52780 (Open) Describe where php
looks for .user.ini if DOCROOT isn't a prefix of filepath
Changed paths:
U phpdoc/en/trunk/install/ini.xml
Modified: phpdoc/en/trunk/install/ini.xml
===================================================================
--- phpdoc/en/trunk/install/ini.xml 2010-09-07 18:42:37 UTC (rev 303144)
+++ phpdoc/en/trunk/install/ini.xml 2010-09-07 19:45:28 UTC (rev 303145)
@@ -136,7 +136,11 @@
In addition to the main &php.ini; file, PHP scans for INI files in each
directory, starting with the directory of the requested PHP file, and
working its way up to the current document root (as set in
- <varname>$_SERVER['DOCUMENT_ROOT']</varname>). Only INI settings with the
+ <varname>$_SERVER['DOCUMENT_ROOT']</varname>). In case the PHP file is
+ outside the document root, only its directory is scanned.
+ </simpara>
+ <simpara>
+ Only INI settings with the
modes <constant>PHP_INI_PERDIR</constant> and
<constant>PHP_INI_USER</constant> will be recognized in .user.ini-style INI
files.