note 81369 added to install.windows
| From: | badscorpathotmaildotcom at osu1 dot php dot net | Date: | Mon, 25 Feb 2008 08:22:31 +0000 |
| Subject: | note 81369 added to install.windows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136468@lists.php.net to get a copy of this message | ||
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,,
----
Server IP: 69.147.83.197
Probable Submitter: 212.71.37.81 (proxied: 89.5.117.227)
----
Manual Page -- http://www.php.net/manual/en/install.windows.php
Edit -- https://master.php.net/note/edit/81369
Del: integrated -- https://master.php.net/note/delete/81369/integrated
Del: useless -- https://master.php.net/note/delete/81369/useless
Del: bad code -- https://master.php.net/note/delete/81369/bad+code
Del: spam -- https://master.php.net/note/delete/81369/spam
Del: non-english -- https://master.php.net/note/delete/81369/non-english
Del: in docs -- https://master.php.net/note/delete/81369/in+docs
Del: other reasons-- https://master.php.net/note/delete/81369
Reject -- https://master.php.net/note/reject/81369
Search -- https://master.php.net/manage/user-notes.php