Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2005 10:20:26 +0100
From:      Clement Laforet <sheepkiller@cultdeadsheep.org>
To:        Jon Dowd on Sun64sara <jondowd@jondowd.com>
Cc:        freebsd-apache@freebsd.org
Subject:   Re: pkg_add -r mod_php5 conflicts with apache-2.0.53_1
Message-ID:  <20051030092026.GA5730@goofy.cultdeadsheep.org>
In-Reply-To: <43645A07.70102@jondowd.com>
References:  <43645A07.70102@jondowd.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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