From owner-freebsd-questions@FreeBSD.ORG Fri Feb 22 03:25:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6670616A403 for ; Fri, 22 Feb 2008 03:25:19 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by mx1.freebsd.org (Postfix) with ESMTP id 3C24013C45B for ; Fri, 22 Feb 2008 03:25:18 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so187172rvb.43 for ; Thu, 21 Feb 2008 19:25:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=E5OFHETTLCn7NgWI8RnUzU7YYOSYo8Ctshx2kUTzwI0=; b=NPxE7OiMVxIDodxtydx1mYF/vRs20ZuV8sM+N6HI+NIxt/2pZ0q8omCTFzPxzCe0zh6MftCpjdQQR4+YsoZ3h08aSpvlC5IR5e7Kuc/S7ifKa5MqAhGmKnQk1vBS3dZjAmPH2BgpDCvTE4w1gLo6bVnpz0p1vzDQa6mCdGAfSZw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TQ5Kf45Zj4Xo58c9MBibHX63wXzE8LHlLonZ5Xl5l04u5pyajYjZ44Ti/O6xaQo3pOiYQ79jOsbDZMm5PaTpLKFMBJXTEfGPEfZXI4QSBdHOArhjVdjfZtJodCe1/Osxjd8reHA8T6qmMQg2ELGWeLyuCXjxXkidAyuVACBib2w= Received: by 10.141.113.6 with SMTP id q6mr7271683rvm.249.1203650717828; Thu, 21 Feb 2008 19:25:17 -0800 (PST) Received: by 10.140.185.19 with HTTP; Thu, 21 Feb 2008 19:25:17 -0800 (PST) Message-ID: Date: Thu, 21 Feb 2008 19:25:17 -0800 From: patrick To: "FreeBSD Questions Mailing List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42b497160704021026w1be0c59dvf83467f89ae87214@mail.gmail.com> 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: Fri, 22 Feb 2008 03:25:19 -0000 I've got a new problem... While I was able to install PHP 5 into a separate location than PHP 4 (both from ports), I'm now trying to add a PHP 5 extension (/usr/ports/graphics/php5-gd). The built-in version checking is saying: ===> php5-gd-5.2.5 cannot install: doesn't work with PHP version : 4 (Doesn't support PHP 4). *** Error code 1 ... which would be an issue if my PREFIX was the same, but it's not. Is there a way I can trick the ports system into thinking I don't have PHP 4 installed? Patrick On Tue, Apr 3, 2007 at 8:36 AM, patrick wrote: > 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 > > >