cvs: phpdoc /en/install ini.xml

From: Date: Fri, 29 May 2009 14:08:39 +0000
Subject: cvs: phpdoc /en/install ini.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4086@lists.php.net to get a copy of this message
rquadling Fri May 29 14:08:39 2009 UTC Modified files: /phpdoc/en/install ini.xml Log: Better explanation of Windows Registry keys for php.ini. Fix #48407 http://cvs.php.net/viewvc.cgi/phpdoc/en/install/ini.xml?r1=1.23&r2=1.24&diff_format=u Index: phpdoc/en/install/ini.xml diff -u phpdoc/en/install/ini.xml:1.23 phpdoc/en/install/ini.xml:1.24 --- phpdoc/en/install/ini.xml:1.23 Sat Dec 27 21:27:44 2008 +++ phpdoc/en/install/ini.xml Fri May 29 14:08:39 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> +<!-- $Revision: 1.24 $ --> <chapter xml:id="configuration" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Runtime Configuration</title> @@ -32,18 +32,21 @@ </listitem> <listitem> <para> - As of PHP 5.2.0, the following registry locations are searched in - order: - <literal>HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x.y.z\IniFilePath</literal>, - <literal>HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x.y\IniFilePath</literal> and - <literal>HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x\IniFilePath</literal>, where - x, y and z mean the PHP major, minor and release versions. + As of PHP 5.2.0, the location of the <literal>php.ini</literal> file + can be set for different versions of PHP. The following registry keys + are examined in order: + <literal>[HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x.y.z]</literal>, + <literal>[HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x.y]</literal> and + <literal>[HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x]</literal>, where + x, y and z mean the PHP major, minor and release versions. If there is a + value for <literal>IniFilePath</literal> in these keys, then the first + one found will be used as the location of the <literal>php.ini</literal> (Windows only). </para> </listitem> <listitem> <para> - <literal>HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath</literal> - (Windows Registry location) + <literal>[HKEY_LOCAL_MACHINE\SOFTWARE\PHP]</literal>, value of + <literal>IniFilePath</literal> (Windows only). </para> </listitem> <listitem>

« previous php.doc.cvs (#4086) next »