PHP4 and PHP5 on IIS

After searching for quite a while on how to get PHP4 and PHP5 running the same time on IIS 6.0 on a Windows 2003 Server.. I have also looked into the comments on PHP manual on installation but nothing works until i found

http://forums.webhostautomation.com/showthread.php?p=147703

It works rather well.. except i had this problem with php4 after following the step.. it gave me an Internal Server Error. Something about ”the specified module could not be found”. If you ever run into problems like that try to move all the contents of C:\PHP4\sapi and C:\PHP4\dlls to C:\PHP4. That took care of the error for me.

I think i have also found a way around the little bug about “One little bug you may notice is that switching from PHP5 to PHP4 after accessing an application with PHP5, will give you a memory access error”. Generally you will not be able to mix php4 and php5 scripts in one directory but you can put the php5 scripts on a directory and assign it to a different Application Pool