#42646 [Opn]: php-cgi.exe doesn't load/use "Per Directory Values" from windows registry
| From: | simon at bleif dot de | Date: | Sat, 15 Sep 2007 10:14:58 +0000 |
| Subject: | #42646 [Opn]: php-cgi.exe doesn't load/use "Per Directory Values" from windows registry | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117566@lists.php.net to get a copy of this message | ||
ID: 42646
User updated by: simon at bleif dot de
Reported By: simon at bleif dot de
Status: Open
Bug Type: CGI related
Operating System: Windows Server 2003 R2 x64
PHP Version: 5.2.4
New Comment:
With "unfortunately not" I meant that the user has permissions to
access the registry, in case someone didn't understood me correctly.
Still the same issue here...could you conform that the php-cgi.exe
should load and process the settings stored in the registry as the ISAPI
module does?
Previous Comments:
------------------------------------------------------------------------
[2007-09-13 11:09:54] simon at bleif dot de
Unfortunately not. Both ISAPI-Worker Process and CGI/FastCGI are
running under the same account (Network Service). Regmon shows no tries
of php-cgi.exe to access the relevant registry key; there are no "access
denied" events logged as it would be the case if the permissions
wouldn't have been correctly configured.
------------------------------------------------------------------------
[2007-09-13 08:05:14] jani@php.net
Just guessing but does the user you run PHP as have permissions to
access registry..?
------------------------------------------------------------------------
[2007-09-12 16:44:16] simon at bleif dot de
Description:
------------
When running PHP via php-cgi.exe using CGI/FastCGI, "Per Directory
Values" are not read from the windows registry.
Reproduce code:
---------------
Simply run PHP in CGI/FastCGI mode using php-cgi.exe and use regmon to
monitor the accessed registry keys.
Already configured "Per Directory Values" working correctly via
php5isapi.dll are not being loaded and are - as a result - not applied
in CGI/FastCGI-mode.
They are applied fine using php5isapi.dll/ISAPI-mode.
Expected result:
----------------
The relevant values should be loaded from the registry and should be
applied as described here:
http://de3.php.net/manual/en/configuration.changes.php#configuration.changes.windows.
Actual result:
--------------
The relevant registry keys are not loaded from the registry and the
settings configured there are not being applied.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42646&edit=1