[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] cvs: phpdoc /en/install ini.xml
From:       "Richard Quadling" <rquadling () php ! net>
Date:       2009-05-29 14:08:39
Message-ID: cvsrquadling1243606119 () cvsserver
[Download RAW message or body]

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>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic