Apache/PHP4 and Apache2/PHP5 in the same Gutsy box
OOzy Pal
oozypal at gmail.com
Sat Feb 2 11:31:19 UTC 2008
On Dec 8, 2007 9:03 PM, Hal Burgiss <hal at burgiss.net> wrote:
> 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
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
I am coming back to this issue again. I would like to eliminate some
of the headache by not having both servers running concurrently.
Therefore, How can I make Apache 1 (php4) not to start when the box
starts and make Apache 2 (php5) starts when the box starts. Then if I
need to work with php4, I will stop apache2 and start apache1.
Am I making sense?
--
OOzy
Ubuntu-Gutsy (7.10)
More information about the ubuntu-users
mailing list