Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2003 11:57:57 -0800 (PST)
From:      Jeff Jirsa <jeff@unixconsults.com>
To:        "Colin J. Raven" <duiker@haggis.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Version of Apache to install from /usr/ports
Message-ID:  <20030331115529.Y81667-100000@boris.st.hmc.edu>
In-Reply-To: <006901c2f7bb$afff89e0$1b00000a@bigboy>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 31 Mar 2003, Colin J. Raven wrote:

> Hi all!
> FINALLY got FreeBSD installed and playing nice.
> Now to set some stuff up. I could use some help here if someone could
> spare a few minutes....
> 1. Apache: what version should I install from /usr/ports...apache2?

apache2 is the newest version, but I'm not sure it supports all of the
modules yet. apache13 is "stable" and well known, and you could probably
get away with installing that.

> 2. How would I install apache so that it recognizes php (need to learn
> php rather badly)

Install the port. It will build PHP as a shared object that can be loaded
by apache. The port build script will tell you which lines to add to your
httpd.conf file to get apache to load php scripts correctly.

> 3. Speaking of php...how do I install IT on the server? Is it in ports
> someplace? I don't see it, but maybe I'm being dumb.

`cd /usr/ports/www/mod_php4 && make install clean`

> 4. Ditto MySQL...how/where?

`cd /usr/ports/databases/mysql40-server && make install clean`

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+iJ3M1ZEy6nYcOF4RAkvtAKCm2wirVFcoIMKROIgc74NONLI8KQCg+VZa
mT5Z2W6b5BFvEkLtzFrs5cY=
=l+j6
-----END PGP SIGNATURE-----




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