From:             jKgD1QkN at peterertel dot name
Operating system: Windows Server 2003 x64
PHP version:      5.3.0
PHP Bug Type:     CGI related
Bug description:  php-cgi.exe doesn't recognize PHPRC or registry settings

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 bug report at http://bugs.php.net/?id=49318&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49318&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49318&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49318&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49318&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49318&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49318&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49318&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49318&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49318&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49318&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49318&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49318&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49318&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49318&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49318&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49318&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49318&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49318&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49318&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49318&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49318&r=mysqlcfg

Reply via email to