Date: Tue, 27 Sep 2005 15:00:55 -0400 From: Mark Bucciarelli <mark@gaiahost.coop> To: questions@freebsd.org Subject: Re: PHP4 & PHP5 on same server? Message-ID: <20050927190055.GB3356@rabbit> In-Reply-To: <43390DD4.3030106@verysmall.org> References: <20050926143513.GH2356@rabbit> <43390DD4.3030106@verysmall.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050927190055.GB3356>