I'm trying to get PHP4 and PHP5 both running on XP. I have PHP4 running but it is using the the following php.ini: "c:\PHP5\php.ini".
I've tried putting the php.ini path in the registry and restarting IIS but there is no change.
There is no php.ini in the c:\windows directory.
How do I get PHP4 to use the c:\PHP4\php.ini and PHP5 to use the c:\PHP5\php.ini?
********* Results of phpinfo() ***************
System Windows NT ACTIONSLACKS64 5.1 build 2600
Build Date May 4 2007 13:29:21
Server API ISAPI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\PHP5\php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety enabled
Registered PHP Streams php, http, ftp, compress.zlib
**************************
**********
**********
**********
******
******* Contents of HKEY_LOCAL_MACHINE\SOFTWAR
E\PHP ************
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWA
RE\PHP]
"InstallDir"="c:\\PHP4"
"ApacheDir"="C:\\"
"IniFilePath"="c:\\php4"
[HKEY_LOCAL_MACHINE\SOFTWA
RE\PHP\5]
"IniFilePath"="c:\\php5"
**************************
**********
**********
**********
******
*************** Path **************************
**********
***
PATH=C:\Perl\site\bin;
C:\Perl\bin;
C:\PROGRA~1\GTK\bin;
C:\Perl\bin\;C:\Program Files\Windows Resource Kits\Tools\;
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\WINDOWS\Microsoft.NET\F
ramework\v
1.1.4322;
C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;
C:\Python24;
c:\Program Files\Microsoft SQL Server\90\Tools\binn\;
[INSTALLDIR;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontie
r";;C:\
Program Files\Windows Imaging\;
c:\php4;
C:\PHP4\extensions;
c:\PHP5;
C:\PHP5\ext;
C:\Program Files\OpenVPN\bin
**************************
**********
**********
**********
**********
**********
******
Start Free Trial