Version of Apache to install from /usr/ports
jeff at unixconsults.com
Mon Mar 31 11:58:11 PST 2003
-----BEGIN PGP SIGNED MESSAGE-----
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)
-----END PGP SIGNATURE-----
More information about the freebsd-questions