From owner-freebsd-ports@FreeBSD.ORG Tue Apr 26 03:45:30 2005 Return-Path: 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 046C016A4CE for ; Tue, 26 Apr 2005 03:45:30 +0000 (GMT) Received: from absinthe.tincture.us (adsl-67-113-224-217.dsl.snfc21.pacbell.net [67.113.224.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D8A443D1D for ; Tue, 26 Apr 2005 03:45:29 +0000 (GMT) (envelope-from fred@tincture.us) Received: from [10.0.0.20] (red.tincture.us [10.0.0.20] (may be forged)) (authenticated bits=0) by absinthe.tincture.us (8.13.3/8.13.3) with ESMTP id j3Q3jSBB002874 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Mon, 25 Apr 2005 20:45:28 -0700 (PDT) (envelope-from fred@tincture.us) In-Reply-To: <001301c549f7$de978970$1200a8c0@gsicomp.on.ca> References: <001301c549f7$de978970$1200a8c0@gsicomp.on.ca> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <4bc120c7b6a3ce4b6819552ba5ccf399@tincture.us> Content-Transfer-Encoding: 7bit From: Fred Condo Date: Mon, 25 Apr 2005 20:45:27 -0700 To: "Matt Emmerton" X-Mailer: Apple Mail (2.622) cc: freebsd-ports@freebsd.org Subject: Re: php4 and mod_php4 on the same system? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 03:45:30 -0000 On Apr 25, 2005, at 5:35 PM, Matt Emmerton wrote: > [ Please cc me since I don't track the -ports list ] > > I'm trying to figure out how I can install both php4 and mod_php4 on a > production web server. > > We have a custom web application written in PHP and is served up with > mod_php4. > We also have some daily batch processing for this application that is > cron-driven and needs to use some of the common PHP code that the web > app > uses in order to accomplish its tasks. > > Thus, I'd want to install lang/php4 and www/mod_php4 on our production > web > server -- but the current ports won't allow it due to the CONFLICT > mechanism. > > What are the dangers of overriding the CONFLICT mechanism in the ports > subsystem so that I can install both? No need to install both: lang/php4 also installs the Apache module. If you really want to install them separately, you might be able to use lang/php4-cli and www/mod_php4.