Bug #62955 [Asn->Csd]: Only one directive is loaded from "Per Directory Values" Windows registry
| From: | felipe@php.net | Date: | Thu, 30 Aug 2012 12:23:23 +0000 |
| Subject: | Bug #62955 [Asn->Csd]: Only one directive is loaded from "Per Directory Values" Windows registry | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-173018@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62955&edit=1
ID: 62955
Updated by: felipe@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] felipe@php.net
Automatic comment on behalf of felipensp@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