Multiple versions of PHP

Kimi Ostro kimimeister at
Mon Apr 2 17:26:04 UTC 2007

On 02/04/07, patrick <gibblertron at> 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



More information about the freebsd-questions mailing list