ID:               40345
 Updated by:       [EMAIL PROTECTED]
 Reported By:      pfribeiro at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Windows Server 2003 R2
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.


Previous Comments:
------------------------------------------------------------------------

[2007-02-03 20:00:33] pfribeiro at gmail dot com

Description:
------------
The documentation at
http://www.php.net/manual/en/configuration.php#configuration.file
states that PHP will look for the configuration file in:

HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath\x.y.z

However it seems to be incorrect since the only way I've been able to
use it is:

HKEY_LOCAL_MACHINE\SOFTWARE\PHP\x.y.z\IniFilePath



Reproduce code:
---------------
1) Configure PHP for IIS6
2) Add the following registry key in order to load php.ini, according
to the documentation for PHP 5.2.0:

HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath\5


Expected result:
----------------
Expected PHP to look for php.ini in the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath\5

Actual result:
--------------
PHP looks for php.ini in the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5\IniFilePath


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40345&edit=1

Reply via email to