From owner-freebsd-ports@FreeBSD.ORG Wed Dec 15 16:05:01 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8884316A4CE for ; Wed, 15 Dec 2004 16:05:01 +0000 (GMT) Received: from mindfields.energyhq.es.eu.org (73.Red-213-97-200.pooles.rima-tde.net [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAA9D43D53 for ; Wed, 15 Dec 2004 16:04:57 +0000 (GMT) (envelope-from flynn@energyhq.es.eu.org) Received: from scienide.energyhq.es.eu.org (scienide.energyhq.es.eu.org [192.168.100.1]) by mindfields.energyhq.es.eu.org (Postfix) with SMTP id B66623567D; Wed, 15 Dec 2004 17:04:55 +0100 (CET) Date: Wed, 15 Dec 2004 17:04:39 +0100 From: Miguel Mendez To: Brett Glass Message-Id: <20041215170439.09aeb4a7.flynn@energyhq.es.eu.org> In-Reply-To: <6.2.0.14.2.20041215084409.065ce810@localhost> References: <6.2.0.14.2.20041215084409.065ce810@localhost> X-Mailer: Sylpheed version 0.9.99-gtk2-20041024 (GTK+ 2.4.13; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Wed__15_Dec_2004_17_04_39_+0100_GW=+9c3sCpeEPVnd" cc: ports@freebsd.org Subject: Re: Installing Apache 2 and PHP5 from packages on 4.10-R X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 16:05:01 -0000 --Signature=_Wed__15_Dec_2004_17_04_39_+0100_GW=+9c3sCpeEPVnd Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Wed, 15 Dec 2004 08:52:15 -0700 Brett Glass wrote: Hi, > I've run into an interesting problem while attempting to set up a > simple Web server, with PHP5, on 4.10-RELEASE. On a fresh install of > the OS, I went to the menu of binary packages and selected Apache 2; > it installed without incident. Then, I went back in and selected PHP5. > The installation process tried to bring in -- of all things -- Apache > 1.3! It then died with an error (not surprisingly; I already had a > newer and better version of Apache installed.) The port seems to default to the apache 1.3 target. A possible solution could be having two ports, like the mod_perl[2] port does. I'm sure the current maintainer will be glad to review your patches :-) > Is there a simple workaround for this glitch? I could see if the > results are different if I build both Apache 2 and PHP from ports, but > this will take quite a long time (due to some huge dependencies) and > could very well fail the same way. You only need to build mod_php5 from ports with the APACHE2 option enabled. It won't take long to build, even on slow machines. You can also build the packages on another (faster) 4.10 box and deploy them on the server. But Brett, really, you already know all this, you've been using FreeBSD for years. Cheers, -- Miguel Mendez | lea gfx_lib(pc),a1 http://www.energyhq.es.eu.org | moveq #0,d0 PGP Key: 0xDC8514F1 | move.l 4.w,a6 Note: All HTML mail goes to /dev/null | jsr -552(a6) --Signature=_Wed__15_Dec_2004_17_04_39_+0100_GW=+9c3sCpeEPVnd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBwGCZnLctrNyFFPERArpDAJwNH0IH423UQM9rtC0jvg9f1ynP+QCgrxiz Hsqiry8Nm2HZow2kiuCggdw= =Ud7W -----END PGP SIGNATURE----- --Signature=_Wed__15_Dec_2004_17_04_39_+0100_GW=+9c3sCpeEPVnd--