From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 16:36:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1ABCF16A401 for ; Tue, 3 Apr 2007 16:36:14 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 2394B13C44B for ; Tue, 3 Apr 2007 16:36:12 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so361952ugh for ; Tue, 03 Apr 2007 09:36:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oAcrrlXAvIosYpfTFSKOPSMFwnGLuBQxG1rPkNwt7p8vnr4yq7HRbQv+Du5IsDFH5edrKcGuflCtDNjelf239/NqlECs/T7iTxN1vT4PZW1S+RS7KOaHb0nNlA4erCQaFbB0v76Cm19QC45JAfgEG2jLBft7wbb85dGYREDGdsg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PEPQHlhaclMZqq8EwnQ1fZ6GN+4GoWtQROZRKW/H1i3iE6IUFFdtY/8AXp67vKY/B0riIQqXUNIvT2Hqj5tGnNNylME1yy/gNVeSGfmRtTvmFKy50xAJNx5jIf3kv2Z3UDZc59fjStqZtByy2RwHMP0nQF6gRMsKehMkRjz6hGU= Received: by 10.78.200.3 with SMTP id x3mr1781139huf.1175618168869; Tue, 03 Apr 2007 09:36:08 -0700 (PDT) Received: by 10.78.14.6 with HTTP; Tue, 3 Apr 2007 09:36:08 -0700 (PDT) Message-ID: Date: Tue, 3 Apr 2007 09:36:08 -0700 From: patrick To: "FreeBSD Questions Mailing List" In-Reply-To: <42b497160704021026w1be0c59dvf83467f89ae87214@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42b497160704021026w1be0c59dvf83467f89ae87214@mail.gmail.com> Cc: Kimi Ostro Subject: Re: Multiple versions of PHP 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, 03 Apr 2007 16:36:14 -0000 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 wrote: > On 02/04/07, patrick 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 >