From owner-freebsd-apache@FreeBSD.ORG Sun Oct 30 09:20:29 2005 Return-Path: X-Original-To: freebsd-apache@freebsd.org Delivered-To: freebsd-apache@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5A0916A41F for ; Sun, 30 Oct 2005 09:20:29 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: from goofy.cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with SMTP id C233143D48 for ; Sun, 30 Oct 2005 09:20:27 +0000 (GMT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 93507 invoked by uid 1000); 30 Oct 2005 10:20:26 +0100 Date: Sun, 30 Oct 2005 10:20:26 +0100 From: Clement Laforet To: Jon Dowd on Sun64sara Message-ID: <20051030092026.GA5730@goofy.cultdeadsheep.org> References: <43645A07.70102@jondowd.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <43645A07.70102@jondowd.com> User-Agent: Mutt/1.5.10i Cc: freebsd-apache@freebsd.org Subject: Re: pkg_add -r mod_php5 conflicts with apache-2.0.53_1 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 09:20:30 -0000 --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 29, 2005 at 10:28:39PM -0700, Jon Dowd on Sun64sara wrote: Hi, > Pardon me asking what might be an "answer is available elsewhere",=20 > simple question, but I'm quite new to FreeBSD and I searched the=20 > archives of this list without finding a solution to my problem. >=20 > I have installed Apache2 and am successfully serving pages for several=20 > domains. I want to add PHP (and MySQL) but my efforts result in the=20 > following error: >=20 > # pkg_add -r mod_php5 > Fetching=20 > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/= mod_php5.tbz...=20 > Done. > Fetching=20 > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/All/apa= che-1.3.33_1.tbz...=20 > Done. > pkg_add: package 'apache-1.3.33_1' conflicts with apache-2.0.53_1 > pkg_add: please use pkg_delete first to remove conflicting package(s) or= =20 > -f to force installation > pkg_add: pkg_add of dependency 'apache-1.3.33_1' failed! >=20 > I bet it's really easy... Hope you can tell me how, or point me in the=20 > right direction. It's a limitation of our packages management. Our build process is a=20 per port build, so default options applies. Since default apache=20 version is 1.3.x, all ports which don't depend explicitly on apache2=20 are build for apache 1.3 , PHP is one on them. To support package for=20 php (4|5) for apache 2 we need to add more than 130 ports where=20 WITH_APACHE2 is defined (we have to duplicate all php and their=20 extensions ports). We don't plan to support this. To install apache 2 + php you have to use ports tree and not packages. You can also build your packages set. clem --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFDZJBasRhfjwcjuh0RAvjRAKC7Fe9092Jn3TVca7TGM0OxkyBLOQCgqdsx e6kEyzJk1EKJYNPHP11k2OQ= =eT/J -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf--