Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2008 19:46:38 +0300
From:      "Odhiambo Washington" <odhiambo@gmail.com>
To:        z.szalbot@lc-words.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: installing php4 and php5 on one machine
Message-ID:  <991123400805120946w2ae9a15ayefc91de7b0412ac7@mail.gmail.com>
In-Reply-To: <48285A2D.2000804@lc-words.com>
References:  <48285A2D.2000804@lc-words.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 12, 2008 at 5:54 PM, Zbigniew Szalbot <z.szalbot@lc-words.com>
wrote:

> Hi there,
>
> I am using FreeBSD 7.0-RELEASE-p1. The machine has PHP 5.2.6 with
> Suhosin-Patch 0.9.6.2 (cli). We're going to host one of our sites which
> currently is hosted by our ISP. This site requires php4 to work before it
> gets rewritten or dumped. Anyway, my current BSD machine is a dedicated one
> so I can do with it what I like but I am not really sure how to go about
> installing two versions of php. php5 has been installed from ports and works
> well.
>

The main issue here is: Which php would you want Apache to refer to, and at
what time? Honestly, I  don't have an answer for this!.
Perhaps you have to run a whole different system within a jail:-(
There may be an easier way, but when I read this, that is where my /etc (end
of thinking capacity) got me for now.

How would you advise me to go about installing php4? I do not think I will
> be able to do it from ports (it will require an ancient version of php
> 4.10). Also I do not want to mix dependencies and such. Another issue is how
> to host the site. Use a different port for it (*:8080)? Use jails (never
> been in jail so no experience with it so far ;)?


Why not just use the  final version of php-4.x.x? Even this breaks your
site?


>
> I do have several IPs to play with so I can use them if that helps.


Use a jail.


>
>
> I'd appreciate your opinion about it. Many thanks to you all in advance!


I am not even sure my opinion helps, but well, the whole world reads this
list!:-)



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

"Oh My God! They killed init! You Bastards!"
--from a /. post



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?991123400805120946w2ae9a15ayefc91de7b0412ac7>