From owner-freebsd-questions@FreeBSD.ORG Mon May 12 21:04:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5128A106564A for ; Mon, 12 May 2008 21:04:41 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1A6358FC20 for ; Mon, 12 May 2008 21:04:40 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id F01431CDB6; Mon, 12 May 2008 13:04:39 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org, z.szalbot@lc-words.com Date: Mon, 12 May 2008 23:04:37 +0200 User-Agent: KMail/1.9.7 References: <48285A2D.2000804@lc-words.com> <200805122220.48258.fbsd.questions@rachie.is-a-geek.net> <4828ACB1.9070002@lc-words.com> In-Reply-To: <4828ACB1.9070002@lc-words.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805122304.38225.fbsd.questions@rachie.is-a-geek.net> Cc: Subject: Re: installing php4 and php5 on one machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 21:04:41 -0000 On Monday 12 May 2008 22:46:41 Zbigniew Szalbot wrote: > Hello, > > Mel pisze: > > On Monday 12 May 2008 16:54:37 Zbigniew Szalbot wrote: > >> 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. > > > > Jail for sure. > > Thanks! > > > There's more then one reason to do this in a jail. First of all, you can > > seperate the php versions, something that's not supported by the ports > > system. > > And here comes my question. Can the php5 installation be left intact and > php4 be built in a jail? Yes. I build ports for 6.x machines, on a 7.x machine in a jail. So you can seperate it perfectly. > And finally, would I also need to build > another instance of apache in jail? Yes. You basically create a seperate FreeBSD installation, without the kernel. Complete with devfs and seperate user accounts. It is better to start this way and if you get paranoid about all the things running, it is easy to remove things one by one till it stops working ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part.