Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Community News:
Running PHP4 and PHP5 Together
Jan 21, 2004 @ 13:24:32

Looking to work with PHP4 and PHP5 together on the same machine? Sounds simple enough, right? Well, if not done properly, you might find some interesting problems cropping up with your code. So, take a bit of advice from this new posting, and make it a sure shot the first time.

How to run PHP4 and PHP 5 parallel gives you a HOWTO like setup of steps allowing you to quickly and easily run the Apache configs as well as getting PHP4 and 5 set up and ready to run. Thankfully, this process is made much easier with the additional Apache web server that they use for each version of PHP.

It's not that difficult to get these two running on their own web servers, thankfully. I wonder, though, how difficult it would be (or if it's at all possible) to have them both on one Apache install. Maybe with .php parsed by PHP4 and .php5 parsed by PHP5? Personally, I think that would be pretty slick...

tagged:

Link:


Trending Topics: