Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2003 21:48:49 +0100
From:      Melvyn Sopacua <freebsd-questions@webteckies.org>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD-questions <questions@FreeBSD.ORG>
Subject:   Re: php4...
Message-ID:  <200311302148.50694.freebsd-questions@webteckies.org>
In-Reply-To: <20031130201344.GA31659@tao.thought.org>
References:  <20031130050122.GA50513@tao.thought.org> <200311301340.07815.freebsd-questions@webteckies.org> <20031130201344.GA31659@tao.thought.org>

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

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



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