Doc #74987 [Opn]: Registry keys no longer valid

From: Date: Thu, 21 Sep 2017 17:03:56 +0000
Subject: Doc #74987 [Opn]: Registry keys no longer valid
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14989@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: Open Type: Documentation Problem Package: PHP options/info functions Operating System: Windows 10 PHP Version: 7.2Git-2017-07-25 (Git) -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Thanks for the report and the patch (very much appreciated)! Previous Comments: ------------------------------------------------------------------------ [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 (#14989) next »