From owner-freebsd-questions@FreeBSD.ORG Mon May 12 16:46:47 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 96D1B106568A for ; Mon, 12 May 2008 16:46:47 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 539FC8FC1F for ; Mon, 12 May 2008 16:46:47 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so1317420ywe.13 for ; Mon, 12 May 2008 09:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=6tPC2WQww2MuT5YebBXAAUy3o4Wuh/LfRnVIxBvG1JY=; b=vocPjxwqWT3VOjZ7RE8Oz4BNiYmQCpKoG33pd7UFcsREsCXVpLTk/wqUiuuhBXDZhWRmFPQPfLL73MDFYC7Q3rlL0Ao9Z0gj1DO7n5GVN4Kmq1DH0c7nSbPDM75vzo+CN0fw6MAw2tU8aHcCegdfldi8oT6SfCuYRrrslYi00f0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ExBSUe57NKv+uHVa+LZ+RqKCUDQYtYd2p/kALzAcPHpZFiqKhUOIOlgDOM6ZxvBWclBOWgfgJ9CGgmdYG3ekwvR6iUZVJAV2mwcPdhkx1vuIn7e3hzBaPQ7CppotbIZu4OFazNQph7KCyElw1Ksq8fK2Ym/46vTUOBadPm1Ks60= Received: by 10.150.84.41 with SMTP id h41mr8439207ybb.221.1210610798641; Mon, 12 May 2008 09:46:38 -0700 (PDT) Received: by 10.150.219.9 with HTTP; Mon, 12 May 2008 09:46:38 -0700 (PDT) Message-ID: <991123400805120946w2ae9a15ayefc91de7b0412ac7@mail.gmail.com> Date: Mon, 12 May 2008 19:46:38 +0300 From: "Odhiambo Washington" To: z.szalbot@lc-words.com In-Reply-To: <48285A2D.2000804@lc-words.com> MIME-Version: 1.0 References: <48285A2D.2000804@lc-words.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org 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 16:46:47 -0000 On Mon, May 12, 2008 at 5:54 PM, Zbigniew Szalbot 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