Click to See Complete Forum and Search --> : Multiple Installations: PHP4 and PHP5?


thissa
01-02-2005, 04:45 PM
Hello,

I apologize in advance if this has been asked before -- a search revealed no results.

I'd like to know whether it's possible to have two PHP installations, PHP4 and PHP5, on the same Apache server. I'd like to begin developing for my own personal site with PHP5, but, of course, most people on my host's servers require PHP4, not version 5.

Is it possible to install the newest version and, perhaps, assign it a .php5 extension? How might one go about that?

Thanks!

raidenhd
01-03-2005, 02:21 AM
I'm not sure what web server do you use, but in RaidenHTTPDhttp://www.raidenhttpd.com/en/

You can do it by making php4 to use ISAPI dll and PHP5 to use CGI

because php.ini for PHP4,5 are different, if you use isapi dll the php.ini should be inside windows directory, and if you use CGI the php.ini is placed into php directory.

I guess it's similar on other servers.