ID:               39894
 Updated by:       [EMAIL PROTECTED]
 Reported By:      graham at directhostinguk dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: Windows 2003 Server Standard
 PHP Version:      4.4.4
 New Comment:

HKLM/Software/PHP/IniFilePath is searched after PHPRC as written in the
docs.


Previous Comments:
------------------------------------------------------------------------

[2006-12-20 11:17:05] graham at directhostinguk dot com

So there is no way of stopping clients from putting php.ini in there
webspace allowing them to override the global php.ini if your running
both PHP4 and PHP5

------------------------------------------------------------------------

[2006-12-20 11:02:59] [EMAIL PROTECTED]

The docs are wrong.

------------------------------------------------------------------------

[2006-12-20 00:53:51] graham at directhostinguk dot com

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 this bug report at http://bugs.php.net/?id=39894&edit=1

Reply via email to