PHP 4 & PHP 5 at the same time

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael Phipps

    PHP 4 & PHP 5 at the same time

    Hi,

    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
    box.

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

    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?

    Michael.


  • Michael Phipps

    #2
    Re: PHP 4 & PHP 5 at the same time

    > I'm sure many of you have PHP4 and PHP5 running on a Windows Box with[color=blue]
    > 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?[/color]

    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?


    Comment

    Working...