From owner-freebsd-questions@FreeBSD.ORG Wed Dec 1 23:16:32 2004 Return-Path: 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 9420816A4CE for ; Wed, 1 Dec 2004 23:16:32 +0000 (GMT) Received: from fep7.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08DE643D48 for ; Wed, 1 Dec 2004 23:16:27 +0000 (GMT) (envelope-from bbobowski@cogeco.ca) Received: from [24.150.215.98] (d150-215-98.home.cgocable.net [24.150.215.98]) by fep7.cogeco.net (Postfix) with ESMTP id 1708911FD; Wed, 1 Dec 2004 18:16:23 -0500 (EST) Message-ID: <41AE5059.8050008@cogeco.ca> Date: Wed, 01 Dec 2004 18:14:33 -0500 From: Brian Bobowski User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Thunderbird/0.7.1 Mnenhy/0.6.0.104 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Graham Bentley References: <3.0.6.32.20041201191418.007d9310@mail.uk2.net> In-Reply-To: <3.0.6.32.20041201191418.007d9310@mail.uk2.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: freebsd-questions Digest, Vol 81, Issue 24 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2004 23:16:32 -0000 Graham Bentley wrote: >Hi All, > >As an experiment (and to gain some expereince) I would like >to test out locally various CMS software. > >I have a 5.3 release disc here and can get a minimal install >up and running and on the net quite quickly now. > >What I am struggling with is the following :- > >What is the best order (options/versions) to install these packages > >Mysql, Apache, PHP - which I need to test out the CMS software > >Just recently I installed Apache2, then PHP 3.9.2 and MySQL 4.0 >only to find I had not got support for MySQL compiled into PHP. > >There must be some logical methods to ensure that each package >has the dependancies it requires ? > >For eample do I need /usr/ports/www/mod_php4 as well >as /usr/ports/lang/php4 ? > >Any advice appreciated :) > > mod_php4 is the Apache mod and is probably a Very Good Thing(but you got PHP 3.9.2...?). Since PHP and MySQL exist independently and neither needs the other to run(except with one another), that's likely why it doesn't default... I would do MySQL and Apache first, in whatever order, then lang/php4, then www/mod_php4. SQL and the web server are, I believe, quite independent; since PHP is, among other things, the glue that's holding them together, that's best installed when you already have the other two(which don't care about PHP beyond Apache loading libphp4.so as produced, I think, by www/mod_php4). HTH, -BB