From owner-freebsd-questions@FreeBSD.ORG Wed Mar 29 16:42:53 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B8BC16A420 for ; Wed, 29 Mar 2006 16:42:53 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id C31A243D7C for ; Wed, 29 Mar 2006 16:42:52 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) by wingspan with esmtp; Wed, 29 Mar 2006 11:42:51 -0500 id 0005642D.442AB90B.00003590 Date: Wed, 29 Mar 2006 11:42:51 -0500 From: Bill Moran To: "S W" Message-Id: <20060329114251.d650934f.wmoran@collaborativefusion.com> In-Reply-To: <73cb07950603290834w3fc921c8j1bddd8d01412b839@mail.gmail.com> References: <73cb07950603290834w3fc921c8j1bddd8d01412b839@mail.gmail.com> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Does mod_php4 include php4? 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: Wed, 29 Mar 2006 16:42:53 -0000 On Wed, 29 Mar 2006 18:34:35 +0200 "S W" wrote: > Dear all, > > I'm setting up apache/snort/acid/mysql, etc, and need php4 for acid. > > Acid needs (or certainly used to) phplot, which needs mod_php4, but if > I attempt to install mod_php4 (needed for phplot) on top of php4, it > complains that it and php4 install to the same place (and vice-versa). > > I have come across a post which suggests that mod_php4 includes php4 - > can anyone confirm this? Install php4 - this includes the SAPI stuff that is required for nice integration with Apache. It does _not_ automagically update your Apache config to work with PHP, however. Seek out the HOWTO on the PHP site, but I believe all you'll have to do is insert the appropriate AddType directive in your httpd.conf. -- Bill Moran Collaborative Fusion Inc.