From owner-freebsd-questions@FreeBSD.ORG Tue Sep 27 19:01:07 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53FB216A41F for ; Tue, 27 Sep 2005 19:01:07 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from biodiesel.gaiahost.coop (biodiesel.gaiahost.coop [64.95.78.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C18643D48 for ; Tue, 27 Sep 2005 19:01:06 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from localhost (host-64-65-195-19.spr.choiceone.net [::ffff:64.65.195.19]) (AUTH: LOGIN mark@hubcapconsulting.com) by biodiesel.gaiahost.coop with esmtp; Tue, 27 Sep 2005 15:01:01 -0400 id 00254057.433996F1.00003C26 Received: by localhost (sSMTP sendmail emulation); Tue, 27 Sep 2005 15:00:56 -0400 Date: Tue, 27 Sep 2005 15:00:55 -0400 From: Mark Bucciarelli To: questions@freebsd.org Message-ID: <20050927190055.GB3356@rabbit> Mail-Followup-To: questions@freebsd.org References: <20050926143513.GH2356@rabbit> <43390DD4.3030106@verysmall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <43390DD4.3030106@verysmall.org> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: PHP4 & PHP5 on same server? 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: Tue, 27 Sep 2005 19:01:07 -0000 On Tue, Sep 27, 2005 at 11:16:04AM +0200, pobox@verysmall.org wrote: > Mark Bucciarelli wrote: > >Is it possible install both php4 and php5 on the same server using > >ports? > > > >I'm using fastcgi so two different interpreters should be fine. (Rename > >/usr/local/bin/php to /usr/local/bin/php5-fcgi, for example.) > > > >Can I assume the php4 and php5 modules (for example, pear) won't step on > >each other's toes? > > > >I google around but didn't find much on this topic ... :( > > > >m > > We have them as mod with two chrooted Apache servers on two different IPs. Thanks for the reply. >From doing some more research list night, my understanding is that the php binary is the whole kit and kaboodle, so if I - build PHP4 from source and - configure it to look in a different spot for extensions, then I should be able to use PHP4 and PHP5 via fastcgi on a per-vhost basis. I just won't be able to rely on ports for updates to PHP4. m