ID: 49318 Updated by: [email protected] Reported By: jKgD1QkN at peterertel dot name -Status: Open +Status: Bogus Bug Type: CGI related Operating System: Windows Server 2003 x64 PHP Version: 5.3.0 New Comment:
Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. #46972 Previous Comments: ------------------------------------------------------------------------ [2009-08-21 09:20:47] jKgD1QkN at peterertel dot name This looks somewhat similar to #46972 but with the current version of PHP. Is this not considered a "relevant" issue? ------------------------------------------------------------------------ [2009-08-21 09:19:06] jKgD1QkN at peterertel dot name Description: ------------ The CGI searches in %WINDIR% and InstallDir only and does not obey PHPRC or registry settings. Reproduce code: --------------- Configure a Win2k3 x64 System with IIS6 and MS FastCGI Extension. Do one of the following: - put: HKLM\Software\Wow6432node\PHP\5\, IniFilePath = "Path to php.ini other than InstallDir or %WINDIR%" - append (%WINDIR%\system32\inetsrv\fcgiext.ini, PHP section): EnvironmentVars=PHPRC:new path to php.ini Then restart the IIS and call a page with phpinfo(). Expected result: ---------------- Configuration File (php.ini) Path = Loaded Configuration File Or at least: Configuration File (php.ini) Path = chosen path in either registry or PHPRC Or Loaded Configuration File = chosen path in either registry or PHPRC Actual result: -------------- Configuration File (php.ini) Path C:\WINDOWS Loaded Configuration File C:\Program Files (x86)\PHP\php.ini PHPRC=c:\inetpub\config ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49318&edit=1
