From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 14:51:00 2005 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 F136416A4CE for ; Wed, 12 Jan 2005 14:51:00 +0000 (GMT) Received: from hotmail.com (bay103-dav5.bay103.hotmail.com [65.54.174.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EA2843D45 for ; Wed, 12 Jan 2005 14:51:00 +0000 (GMT) (envelope-from whitevamp47@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 12 Jan 2005 06:51:00 -0800 Message-ID: Received: from 65.102.125.195 by BAY103-DAV5.phx.gbl with DAV; Wed, 12 Jan 2005 14:50:57 +0000 X-Originating-IP: [65.102.125.195] X-Originating-Email: [whitevamp47@hotmail.com] X-Sender: whitevamp47@hotmail.com From: "whitevamp" To: "Colin J. Raven" , "Walker, Michael" References: <20050112152052.G802@kenmore.kozy-kabin.nl> Date: Wed, 12 Jan 2005 06:49:33 -0800 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.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-OriginalArrivalTime: 12 Jan 2005 14:51:00.0553 (UTC) FILETIME=[21A6C390:01C4F8B6] cc: "Freebsd-Questions \(E-mail\)" Subject: Re: Trouble starting MySQL 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, 12 Jan 2005 14:51:01 -0000 ----- Original Message ----- From: "Colin J. Raven" To: "Walker, Michael" Cc: "Freebsd-Questions (E-mail)" Sent: Wednesday, January 12, 2005 6:25 AM Subject: RE: Trouble starting MySQL > On Jan 12 at 14:12, Walker, Michael said (somewhat confusingly): > >> owner-freebsd-questions@freebsd.org wrote: >>> On Jan 12 at 12:46, I said: >>> >>>> PHP 4.3.10 (cli) (built: Jan 11 2005 23:15:42) (DEBUG) mysql-4.1.7 >>>> both installed from ports >>>> FreeBSD 5.3-RELEASE >>> >>> When I take a look at a phpinfo page, it shows no mention that MySQL >>> exists. AFAIK this ought not to be so. >>> >>> I installed php last night (again, from ports) and remembered that >>> there oughtta be support for mysql. So this is how I built php, though >>> now I'm wondering if I installed it correctly since it seems braindead >>> to the existence of MySQL >>> >>> make with-mysql=yes install clean >>> >> >> I don't have a FreeBSD box at work with me at the moment. >> But check out the following (Im assuming one to be correct) >> /usr/ports/lang/php-extentions >> /usr/ports/lang/php4-extentions >> >> If both are wrong, it is somewhere very similar. > > I'm sorry, you probably think I'm being dense... > but > I (honestly) don't understand what you mean. > Do you mean that one (or other, or both) must *also* be installed for > php to have any clue that MySQL exists? yes and its /usr/ports/lang/php4-extentions when you run make install it will give you a listing of all the extions that you can install for php just slect mysql from the list > A colleague has an identical setup and - AFAIK - didn't install either > one on this or prior installations of FreeBSD/MySQL/php. Before i updated php to 4.3.10 i didnt have to any of the extions installed for my setup to work . then after i upgraded php i had all kinds of issues nuthing worked,I found out that for 4.3.10 to work the way i whanted it to i had to install just about every extion in the list. along with recompiling php its self to inable the extions that i needed. > If this is a dense and utterly silly question then please excuse the > braindead nature of it. not at all. >Today has been a long and frustrating day. > > Thanks for the ongoing help and advice > -Colin