#39894 [NEW]: IniFilePath and PHPRC

From: Date: Wed, 20 Dec 2006 00:53:52 +0000
Subject: #39894 [NEW]: IniFilePath and PHPRC
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-106605@lists.php.net to get a copy of this message
From: graham at directhostinguk dot com Operating system: Windows 2003 Server Standard PHP version: 4.4.4 PHP Bug Type: IIS related Bug description: IniFilePath and PHPRC Description: ------------ According to this page http://us2.php.net/configuration I should be able to run PHP4 and PHP 5.2.0 on the same system using PHPRC to set the PHP5 Path and Registry Entry IniFilePath to set PHP4 Path. This doesn’t seem to be working My PHPRC System Variable is set to: c:\php5 and HKLM/Software/PHP/IniFilePath is set to: c:\php4 like this PHP4 tries loading php.ini from c:\php5, this is not what your document says should happen If I remove the PHPRC Variable and just use IniFilePath I can move the php4 ini around the system with no problem It’s only when the PHPRC Variable is present that php4 starts using PHPRC before the iniFilePath Registry Entry I am using C:\php4\php.exe and C:\php5\php-cgi.exe My System Enviroment PATH includes c:\php4;c:\php5 -- Edit bug report at http://bugs.php.net/?id=39894&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39894&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39894&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39894&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39894&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39894&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39894&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39894&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39894&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39894&r=support Expected behavior: http://bugs.php.net/fix.php?id=39894&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39894&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39894&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39894&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39894&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39894&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39894&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39894&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39894&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39894&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39894&r=mysqlcfg

« previous php.bugs (#106605) next »