From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 12:49:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EE4916A4CE for ; Sun, 30 Nov 2003 12:49:02 -0800 (PST) Received: from morpheus.webteckies.org (node123e0.a2000.nl [24.132.35.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA80E43FEC for ; Sun, 30 Nov 2003 12:48:52 -0800 (PST) (envelope-from freebsd-questions@webteckies.org) Received: from sarevok.idg.nl (unknown [192.168.1.12]) by morpheus.webteckies.org (Postfix) with ESMTP id 56390107C6; Sun, 30 Nov 2003 21:45:33 +0100 (CET) From: Melvyn Sopacua Organization: WebTeckies.org To: Gary Kline Date: Sun, 30 Nov 2003 21:48:49 +0100 User-Agent: KMail/1.5.93 References: <20031130050122.GA50513@tao.thought.org> <200311301340.07815.freebsd-questions@webteckies.org> <20031130201344.GA31659@tao.thought.org> In-Reply-To: <20031130201344.GA31659@tao.thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_yely/EDUN5zEyLX"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200311302148.50694.freebsd-questions@webteckies.org> cc: FreeBSD-questions Subject: Re: php4... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 20:49:02 -0000 --Boundary-02=_yely/EDUN5zEyLX Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 30 November 2003 21:13, Gary Kline wrote: > On Sun, Nov 30, 2003 at 01:40:07PM +0100, Melvyn Sopacua wrote: > > On Sunday 30 November 2003 08:54, Gary Kline wrote: > > > Another look at the php4 build clued me in. It was a > > > one-line hack to the Makefile... . > > > > You shouldn't hack the Makefile, cause now you have both www/mod_php4 a= nd > > lang/php4 installed and screwed up dependencies. > > > > You should uninstall www/mod_php4 (just force it). Then install > > lang/php4. > > > > The lang/php4 port will check for the existence of an apache installati= on > > and install the apache module (which is www/mod_php4) accordingly. > > Thanks for your help. Last May when I first started working > with php another genteman said to forget lang/php4 and > just install mod_php4. This worked for awhile. Now that > I'm trying to merge php with mysql || postresql, things are > more complcated. If somebody tells you to 'forget about something', the next question should= be=20 'why?' :). www/mod_php4: ONLY the apache module. www/php4-cgi: ONLY the CGI module lang/mod_php4-cli: ONLY the Command Line Interface lang/php4: By default the CLI module and if 'apxs' is found it will install the apache module as well. Since you now need both the CLI as well as the apache module, you should=20 uninstall www/mod_php4 and install lang/php4. As a side note: Having a php-cli available for cronjobs is *very* convenient, that's why I= =20 always go with that port even when I've got no immediate use for it. Last=20 time I checked www/phpgroupware requires it for cleanups and sending out=20 alerts. Additionally you can run the test suite: cd /usr/ports/lang/php4 && make test which will identify possible problems in your setup. =2D-=20 Melvyn =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =46reeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29=20 00:15:33 CET 2003 root@sarevok.webteckies.org:/usr/obj/usr/src/sys/ SAREVOK_NOFW_DBG i386 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D --Boundary-02=_yely/EDUN5zEyLX Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/yleyOv9JNmfFN5URAgNiAKCr9VLwzCgE6kaOPjZgpaJtSa1PQACdEXuI qqZsNDbOPJmhR3ANnEeRsHI= =XkeY -----END PGP SIGNATURE----- --Boundary-02=_yely/EDUN5zEyLX--