For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > December 2006 > #39894 [Opn]: IniFilePath and PHPRC









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #39894 [Opn]: IniFilePath and PHPRC
tony2001@php.net

2006-12-20, 8:02 am

ID: 39894
Updated by: tony2001@php.net
Reported By: graham at directhostinguk dot com
Status: Open
-Bug Type: IIS related
+Bug Type: Documentation problem
Operating System: Windows 2003 Server Standard
PHP Version: 4.4.4
New Comment:

The docs are wrong.


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

[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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com