Run php 4 and php 5.2.x on the same machine with IIS 6.0 as
ISAPI.
1. Extract the ZIP packages of both php 4 & php 5 (not
the Windows Installer) to c:php4 & c:php5
respectively
2. Setup the corresponding php.ini files in c:php4 and
c:php5
3. Add the Web Service Extensions for php4 and php5. For
php4 use c:php4sapiphp4isapi.dll, php5 use
c:php5php5isapi.dll
4. Add the following registry keys:
HKEY_LOCAL_MACHINESOFTWAREPHP5IniFilePath -> c:php5
HKEY_LOCAL_MACHINESOFTWAREPHPIniFilePath -> c:php4
5. Add c:php4 to the PATH environment variable.
6. Associate each web site in IIS with the corresponding php
version.
7. Reboot
Note: That should work, test with phpinfo() in each site.
You may need to refer to the php documentation if we missed
any other settings.
----
Server IP: 69.147.83.197
Probable Submitter: 63.210.161.190
----
Manual Page -- http:/
/www.php.net/manual/en/configuration.php
Edit -- https://master
.php.net/note/edit/74204
Del: integrated -- h
ttps://master.php.net/note/delete/74204/integrated
Del: useless -- http
s://master.php.net/note/delete/74204/useless
Del: bad code -- htt
ps://master.php.net/note/delete/74204/bad+code
Del: spam -- https:/
/master.php.net/note/delete/74204/spam
Del: non-english --
https://master.php.net/note/delete/74204/non-english
Del: in docs -- http
s://master.php.net/note/delete/74204/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/74204
Reject -- https://mast
er.php.net/note/reject/74204
Search -- https://
master.php.net/manage/user-notes.php
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|