PHP 4 & PHP 5 at the same time

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I've decided it's time to take PHP5 for a spin, but all the hosts I use are  
still only on PHP4, so I need to keep PHP4 running and operational on my dev  

My dev environment is a Windows XP Pro Machine with Apache 1.3.33 and PHP  

I'm sure many of you have PHP4 and PHP5 running on a Windows Box with Apache  
as your server.  I'm particularly interested in being able to use ports to  
decide what version of PHP I am running, so I can just add a port number to  
see how a page will perform in PHP5. ie:  http://randomsite/index.php ->  
PHP4, http://randomsite:81/index.php -> PHP5

What solutions have you guys come up with?


Re: PHP 4 & PHP 5 at the same time

Quoted text here. Click to load it

I've been looking into this, and found a solution - I have 2 Apache Services  
running (both Apache 1.3.33) I've named one service Apache which runs on  
port 80 and has the php4 module loaded, and another service apache-php5  
which runs on port 81 and has the php5 module loaded.

Can anyone see any problems with doing things this way?

Site Timeline