note 81369 deleted from install.windows by cmb
| From: | cmb@php.net | Date: | Sun, 23 Dec 2018 13:47:55 +0000 |
| Subject: | note 81369 deleted from install.windows by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-209937@lists.php.net to get a copy of this message | ||
Note Submitter: badscorp at hotmail dot com
----
My experience in running php 4 and php 5 on the same machine with IIS as ISAPI module (tested on XP
Pro).
1- Extract the ZIP packages of both php 4 & php 5 to c:\php4 & c:\php5, each in its own
folder.
2- Setup the corresponding php.ini files in c:\php4 and c:\php5, by renaming php.ini-dist to
php.ini..
3- Add the Web Service Extensions for php4 and php5. For php4 use c:\php4\sapi\php4isapi.dll, php5
use c:\php5\php5isapi.dll..
4- Add the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5\IniFilePath -> c:\php5
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath -> c:\php4
5- Add c:\php4 and c:\php5 to the PATH environment variable, separated by semis.
6- Create a session and an uploadtemp folders in any location, then add them in the
session.save_path in bothe php ini files (there are two in php4?), and give IUSR_machinename write
access to them.
7- Associate each web site in IIS with the corresponding php version.
8- Reboot..
Use phpinfo() to test it in each site.
Regards,,