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

From: Date: Tue, 25 Jul 2017 11:38:35 +0000
Subject: Doc #74987 [NEW]: Registry keys no longer valid
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14861@lists.php.net to get a copy of this message
From: johannes dot kingma at gmail dot com Operating system: Windows 10 PHP version: 7.2Git-2017-07-25 (Git) Package: PHP options/info functions Bug Type: Documentation Problem Bug description:Registry keys no longer valid 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 bug report at https://bugs.php.net/bug.php?id=74987&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74987&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74987&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74987&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=74987&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=74987&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=74987&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=74987&r=needscript Try newer version: https://bugs.php.net/fix.php?id=74987&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=74987&r=support Expected behavior: https://bugs.php.net/fix.php?id=74987&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=74987&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=74987&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=74987&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74987&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=74987&r=dst IIS Stability: https://bugs.php.net/fix.php?id=74987&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=74987&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=74987&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=74987&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=74987&r=mysqlcfg

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