Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2007 09:36:08 -0700
From:      patrick <gibblertron@gmail.com>
To:        "FreeBSD Questions Mailing List" <freebsd-questions@freebsd.org>
Cc:        Kimi Ostro <kimimeister@gmail.com>
Subject:   Re: Multiple versions of PHP
Message-ID:  <b043a4850704030936o58703f9fncf03a90434e4b635@mail.gmail.com>
In-Reply-To: <42b497160704021026w1be0c59dvf83467f89ae87214@mail.gmail.com>
References:  <b043a4850704021007u7ef46045u8fb660a4a21cb55a@mail.gmail.com> <42b497160704021026w1be0c59dvf83467f89ae87214@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, that worked really well. For those searching the archive for
an easy answer, you just need to do:

make PREFIX=/path/to/where/you/want all install clean

Patrick


On 4/2/07, Kimi Ostro <kimimeister@gmail.com> wrote:
> On 02/04/07, patrick <gibblertron@gmail.com> wrote:
> > I have a FreeBSD 6.2 server with Apache 1.3.x and PHP 4.4.x built from
> > ports. I'd like to install PHP 5 from the ports tree, but target its
> > install location to /usr/local/php5 to keep it separate from the PHP 4
> > stuff. (I'll be running PHP through fastcgi.) I'm wondering if there's
> > a way to do built a port where the install root is different from the
> > default? If not, I'll hand-build PHP5, but I'd much rather take
> > advantage of ports.
> >
> > Thanks,
> >
>
> % man 7 ports
>
> look for PREFIX
>
> HTH,
>
> --
> Kimi
>



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