From owner-freebsd-questions@FreeBSD.ORG Sun Mar 19 01:49:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4532816A420 for ; Sun, 19 Mar 2006 01:49:25 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from webmaillogin.com (fr5.webmaillogin.com [216.40.35.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2999043D5F for ; Sun, 19 Mar 2006 01:49:20 +0000 (GMT) (envelope-from gpeel@thenetnow.com) Received: from [216.240.12.2] (account gpeel@thenetnow.com HELO GRANT) by fr5.webmaillogin.com (CommuniGate Pro SMTP 4.3.8) with ESMTPA id 159296424; Sat, 18 Mar 2006 20:49:19 -0500 Message-ID: <002501c64af7$56651340$6501a8c0@GRANT> From: "Grant Peel" To: "Riemer Palstra" , "fbsd_user" References: <007c01c64aa7$64acadf0$6501a8c0@GRANT> <20060318235354.GA46378@rb1.palstra.com> Date: Sat, 18 Mar 2006 20:49:12 -0500 Organization: The Net Now Internet MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Cc: freebsd-questions@freebsd.org Subject: Re: Building a virgin. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2006 01:49:25 -0000 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" To: "fbsd_user" Cc: "Grant Peel" ; 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/ >