From owner-freebsd-ports@FreeBSD.ORG Tue Feb 7 15:49:26 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1752D16A424 for ; Tue, 7 Feb 2006 15:49:26 +0000 (GMT) (envelope-from uros.gruber@vizija.si) Received: from strippy.vizija.si (strippy.vizija.si [217.72.81.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CA9143D6E for ; Tue, 7 Feb 2006 15:49:16 +0000 (GMT) (envelope-from uros.gruber@vizija.si) Received: from cartman.dev (cartman.dev [193.95.243.216]) by strippy.vizija.si (Postfix) with ESMTP id 979CDA6D0F; Tue, 7 Feb 2006 16:49:14 +0100 (CET) Received: from cartman.dev (localhost [127.0.0.1]) by cartman.dev (Postfix) with ESMTP id 11580D4C18; Tue, 7 Feb 2006 16:58:58 +0100 (CET) Received: from [10.0.2.1] (uros [10.0.2.1]) by cartman.dev (Postfix) with ESMTP id E2F5DD4C12; Tue, 7 Feb 2006 16:58:57 +0100 (CET) Message-ID: <43E8C17A.3000507@vizija.si> Date: Tue, 07 Feb 2006 16:49:14 +0100 From: =?windows-1252?Q?Uro=9A_Gruber?= User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "Matthew D. Fuller" References: <43E8BD2F.4080406@vizija.si> <20060207154029.GL1388@over-yonder.net> In-Reply-To: <20060207154029.GL1388@over-yonder.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Scanned: amavisd-new at vizija.si Cc: ports@FreeBSD.org Subject: Re: php-cli and php-cgi X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2006 15:49:26 -0000 Matthew D. Fuller wrote: > On Tue, Feb 07, 2006 at 04:30:55PM +0100 I heard the voice of > Uro?? Gruber, and lo! it spake thus: > >> I need some example how to cleanly install both of them from ports. >> > > I don't know that there _is_ a "cleanly" option. I built lang/php > because I want the Apache module and the command-line version, then > manually build (but not install) the php-cgi port, and copy the > resulting PHP binary to /usr/local/bin/php-cgi (and it goes ahead and > uses the rest of the stuff from the main PHP install). Icky, but the > best way I found. > I found that to :) But hey isn't this kinda stupid. I would like something like this: 1. set up all necessary WITH_xxx in pkgtoools.conf 2. portinstall lang/php5-cli 3. portinstall lang/php5-cgi etc. If this was possible it can be easy setup both php4 and php5 on different locations. You give great example. mod_php and cli is possible but cgi and cli is not. Why? Mainly because of file name. I'm not good at making ports, but i this this could be done to install cli with /usr/local/bin/php and cgi as /usr/local/bin/php-cgi or maybe even php5-cgi etc. For now I need manually copy binaries to right location and make right ini files. regards Uros