Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2006 20:49:12 -0500
From:      "Grant Peel" <gpeel@thenetnow.com>
To:        "Riemer Palstra" <riemer@palstra.com>, "fbsd_user" <fbsd_user@a1poweruser.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Building a virgin.
Message-ID:  <002501c64af7$56651340$6501a8c0@GRANT>
References:  <007c01c64aa7$64acadf0$6501a8c0@GRANT> <MIEPLLIBMLEEABPDBIEGMEJLHCAA.fbsd_user@a1poweruser.com> <20060318235354.GA46378@rb1.palstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the info!

So the 'best' think would be:

MySQL first,

Apache 2nd,

PHP third, then php-extensions?

Also, Since its likely that this server will be replacing a live one, I 
selected php and mysql for to ensure the apps deployed are compatable.

No suprises wanted when the changeover time comes....

-Grant

----- Original Message ----- 
From: "Riemer Palstra" <riemer@palstra.com>
To: "fbsd_user" <fbsd_user@a1poweruser.com>
Cc: "Grant Peel" <gpeel@thenetnow.com>; <freebsd-questions@freebsd.org>
Sent: Saturday, March 18, 2006 6:53 PM
Subject: Re: Building a virgin.


> 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?002501c64af7$56651340$6501a8c0>