Doc #74987 [Asn->Csd]: Registry keys no longer valid

From: Date: Thu, 21 Sep 2017 17:16:17 +0000
Subject: Doc #74987 [Asn->Csd]: Registry keys no longer valid
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14990@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74987&edit=1 ID: 74987 Updated by: cmb@php.net Reported by: johannes dot kingma at gmail dot com Summary: Registry keys no longer valid -Status: Assigned +Status: Closed Type: Documentation Problem Package: PHP options/info functions Operating System: Windows 10 PHP Version: 7.2Git-2017-07-25 (Git) Assigned To: cmb Block user comment: N Private report: N 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: ------------------------------------------------------------------------ [2017-09-21 17:15:31] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=343127 Log: Fix #74987: Registry keys no longer valid Patch provided by johannes.kingma ------------------------------------------------------------------------ [2017-09-21 17:03:54] cmb@php.net Thanks for the report and the patch (very much appreciated)! ------------------------------------------------------------------------ [2017-07-31 11:49:37] ab@php.net Thanks for the report. Would you be up to send a doc patch? Thanks. ------------------------------------------------------------------------ [2017-07-25 11:38:33] johannes dot kingma at gmail dot com Description: ------------ --- From manual page: http://www.php.net/configuration.file --- Bullet 3 should read: As of PHP 5.2.0, the location of the php.ini file can be set for different versions of PHP. The following registry keys are examined in order: [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\PHP\x.y.z], [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\PHP\x.y] and [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\PHP\x], where x, y and z mean the PHP major, minor and release versions. If there is a value for IniFilePath in any of these keys, the first one found will be used as the location of the php.ini (Windows only). [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\PHP], value of IniFilePath (Windows only). Summery: Keys for 32bit binaries are stored under HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ Keys for 64bit binaries are stored under HKEY_LOCAL_MACHINE\SOFTWARE\ Test script: --------------- <?php echo phpinfo(1); Expected result: ---------------- Loaded Configuration File shows the file that is loaded. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74987&edit=1

« previous php.doc.bugs (#14990) next »