Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2006 23:53:54 +0000
From:      Riemer Palstra <riemer@palstra.com>
To:        fbsd_user <fbsd_user@a1poweruser.com>
Cc:        Grant Peel <gpeel@thenetnow.com>, freebsd-questions@freebsd.org
Subject:   Re: Building a virgin.
Message-ID:  <20060318235354.GA46378@rb1.palstra.com>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGMEJLHCAA.fbsd_user@a1poweruser.com>
References:  <007c01c64aa7$64acadf0$6501a8c0@GRANT> <MIEPLLIBMLEEABPDBIEGMEJLHCAA.fbsd_user@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 18, 2006 at 11:31:54AM -0500, fbsd_user wrote:
> Install apache first before mysql and php.

Err, no, I think it's better to do MySQL first:

> installing database/MySQL server (4.1.18_1)
> installing database/MySQL client (4.1.18)

Installing the server will normally also get you the client. Any reason
for not going with MySQL 5?

> install lang/PHP4 (4.4.1_1)
> install (use config) lang/php-extensions

If MySQL is already installed, php-mysql (or if using PHP5 also
php-mysqli) will pick up the libraries of the already installed
mysql-client. Any reason to not go with PHP 5?

> install apache

Install Apache before PHP, especially when you're installing Apache 2.0
or 2.2. By doing that, PHP will pick up on the right apxs binary and
build with that compatibility in mind.

-- 
Riemer Palstra		     		      Amsterdam, The Netherlands
riemer@palstra.com				 http://www.palstra.com/



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