From owner-freebsd-questions@FreeBSD.ORG Fri Sep 17 21:32:29 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 6639C16A4CE for ; Fri, 17 Sep 2004 21:32:29 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D89143D1D for ; Fri, 17 Sep 2004 21:32:29 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 17 Sep 2004 16:32:28 -0500 Message-ID: <414B57EB.2030901@daleco.biz> Date: Fri, 17 Sep 2004 16:32:27 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040712 X-Accept-Language: en-us, en MIME-Version: 1.0 To: asolomon15 References: <414B3154.6020208@nyc.rr.com> In-Reply-To: <414B3154.6020208@nyc.rr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Sep 2004 21:32:29.0109 (UTC) FILETIME=[D537F650:01C49CFD] cc: freebsd-questions@freebsd.org Subject: Re: can't get support for postgresql or 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: Fri, 17 Sep 2004 21:32:29 -0000 asolomon15 wrote: > Hello everyone... I have a problem getting support for mysql within > php. I am running freebsd 5.2.1 and php 4.3.8. When I tried to run > a php script that uses a mysql db connection, I got this error > *Fatal error*: Call to undefined function: mysql_connect() in > > I did a phpinfo() and noticed i didn't see any mysql or postgresql > support in it. I then tried to install php4-mysql module from the > freebsd ports and still no luck. I also tried reinstalling both and > I still end up in the same situation. I did a google search for how > to load a mysql module but I keep getting articles about how to load > it with apache. What should I do? Please read /usr/ports/UPDATING if it is available on your system. If not, you may access it via the cvsweb at the Project web site. You will need to install /usr/ports/lang/php4-extensions to, um, get the extensions ;-) Kevin Kinsey DaleCo, S.P.