From owner-freebsd-questions@FreeBSD.ORG Fri Sep 17 18:47:51 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 C03D516A4CE for ; Fri, 17 Sep 2004 18:47:51 +0000 (GMT) Received: from ms-smtp-03.rdc-nyc.rr.com (ms-smtp-03-smtplb.rdc-nyc.rr.com [24.29.109.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id E760B43D2F for ; Fri, 17 Sep 2004 18:47:50 +0000 (GMT) (envelope-from asolomon15@nyc.rr.com) Received: from [192.168.1.2] (24-193-65-238.nyc.rr.com [24.193.65.238]) i8HIlm20029390 for ; Fri, 17 Sep 2004 14:47:48 -0400 (EDT) Message-ID: <414B3154.6020208@nyc.rr.com> Date: Fri, 17 Sep 2004 14:47:48 -0400 From: asolomon15 User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040809) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: 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 18:47:51 -0000 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? Antoine