Edit report at https://bugs.php.net/bug.php?id=62955&edit=1
ID: 62955 Updated by: fel...@php.net Reported by: aserbulov at parallels dot com Summary: Only one directive is loaded from "Per Directory Values" Windows registry -Status: Assigned +Status: Closed Type: Bug Package: PHP options/info functions Operating System: Windows PHP Version: 5.3.16 Assigned To: felipe Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Thanks. Previous Comments: ------------------------------------------------------------------------ [2012-08-30 12:22:09] fel...@php.net Automatic comment on behalf of felipe...@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=de884997e0bc5cfc49b955099f369d1beae941b0 Log: - Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry) ------------------------------------------------------------------------ [2012-08-28 05:56:58] aserbulov at parallels dot com Description: ------------ Only one directive is loaded from "Per Directory Values" Windows registry. Bug has been introduced by commit: https://github.com/php/php-src/commit/93c91c733cf2259263e4d8c0f3ccc254246d404d Test script: --------------- Put some directives in Windows registry: --- [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PHP\Per Directory Values\C\inetpub\wwwroot] "open_basedir"="C:\\Inetpub\\wwwroot\\;C:\\Windows\\Temp\\" "memory_limit"="1M" "error_reporting"="E_ALL & ~E_NOTICE" --- Put script to "C:\Inetpub\wwwroot" directory and browse it. --- <?php phpinfo(); --- Expected result: ---------------- "open_basedir", "memory_limit" and "error_reporting" directives in result have the same values as in Windows registry. Actual result: -------------- "error_reporting" directive have the same value as in Windows registry, but "open_basedir" and "memory_limit" directives have default values. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62955&edit=1