Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2006 18:18:22 -0600 (CST)
From:      Philip Hallstrom <freebsd@philip.pjkh.com>
To:        Graham Bentley <gbentley@uk2.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to get latest and greatest FAMP
Message-ID:  <20060130181659.W33972@bravo.pjkh.com>
In-Reply-To: <001a01c625fa$ec17eb00$0807a8c0@admin>
References:  <001a01c625fa$ec17eb00$0807a8c0@admin>

next in thread | previous in thread | raw e-mail | index | archive | help
> I wanted to do a quick test of Apache21, MySQL5 and PHP5
> I tried a minimal install of FreeBSD 6.0 then pkg_add -r which
> worked fine up until PHP5 where I was told that Apache21
> conflicted with Apache13 that was to be installed as aPHP5
> dependancy. I pkg_delete and went ahead with installing
> PHP5 then Apache13 but when I tried to pkg_delete Apache13
> so I could install Apache21 was told that I coudl not remove it ?

If you're talking about /usr/ports/lang/php5, then it's Makefile has this:

.if defined(WITH_APACHE)
.if ${APACHE_VERSION} > 13
CONFIGURE_ARGS+=--with-apxs2=${APXS}
.else
CONFIGURE_ARGS+=--with-apxs=${APXS}
.endif
.endif


I haven't done it, but I'm guessing if you install apache21 first, then 
set APACHE_VERSION = 21 in your environment, then make, it would do what 
you wanted.

-philip



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