Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2003 00:09:28 +0000
From:      Jez Hancock <jez.hancock@munk.nu>
To:        Chris <beantaxi@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: MySQL 4.0.16 + PHP 4.3.4
Message-ID:  <20031216000928.GF25086@users.munk.nu>
In-Reply-To: <20031215213821.79889.qmail@web40403.mail.yahoo.com>
References:  <20031215213821.79889.qmail@web40403.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 15, 2003 at 01:38:21PM -0800, Chris wrote:
> You know, it never occured to me that there were individual 
> Apache modules in the ports. Thanks Josh! Doesn't look like 
> it would help in this case, though, as the mod_php port is
> for Apache 1.3, and I need 2.0.
I believe you can force the mod_php4 port to install for apache2 using
'WITH_APACHE2'.  Having said this though last time I looked the mod_php4
port automatically detects what version of apache you're running so you
don't even need to use WITH_APACHE2.

Here it is - in /usr/ports/lang/php4/Makefile (which the mod_php4 make
process uses):

.if exists(${LOCALBASE}/include/apache2/apr.h)
WITH_APACHE2=	yes
.endif


-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/        - ipfw peruser traffic logging



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031216000928.GF25086>