Apache/PHP4 and Apache2/PHP5 in the same Gutsy box

Hal Burgiss hal at burgiss.net
Sat Dec 8 18:03:25 UTC 2007


On Sat, Dec 08, 2007 at 08:50:07PM +0300, OOzy Pal wrote:
> I already have Apache 1.34 with PHP4 running. How can I install
> Apache2 with PHP5. Then have web1 to run from Apache 1 and web2 to run
> from Apache2. It sounds like one of those final exams questions :).

web1 is on system1 + php4  and web2 is on systemB + php5!

On the same system? Probably possible but a major headache. Get your 
network set up with multiple ip addresses, install both versions,
configure apache carefully so that the correct php version is found
and to listen only on the appropriate ip/port. They can't both be
bound to the same port on the same IP at the same time. Probably a
bugger and a half. You could try the same IP, but different ports
even.

-- 
Hal
 




More information about the ubuntu-users mailing list