From owner-freebsd-questions@FreeBSD.ORG Tue Sep 9 09:42:28 2003 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 54E3916A4BF for ; Tue, 9 Sep 2003 09:42:28 -0700 (PDT) Received: from bcec01.tiadon.net (BCEC.tiadon.com [69.27.132.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5105343FDF for ; Tue, 9 Sep 2003 09:42:22 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from applications.tiadon.com (mail.tiadon.com [172.16.18.172]) by bcec01.tiadon.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id SQKK24VW; Tue, 9 Sep 2003 11:42:07 -0500 Received: from nitanjared ([69.27.131.30]) by applications.tiadon.com with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 9 Sep 2003 11:41:58 -0500 Message-ID: <002301c376f1$43bf43f0$1e831b45@nitanjared> From: "Kevin Kinsey, DaleCo, S.P." To: =?iso-8859-1?Q?Ricardo_Javier_Aranibar_Le=F3n?= , References: Date: Tue, 9 Sep 2003 11:41:47 -0500 Organization: DaleCo, S.P.---"the solutions people" MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: Re: Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Kevin Kinsey, DaleCo, S.P." List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 16:42:28 -0000 ----- Original Message ----- From: "Ricardo Javier Aranibar León" To: Sent: Tuesday, September 09, 2003 9:48 AM Subject: Help > Hi, > I'm newbie using FreeBSD, I bougth from FreeBSDMall(4 cd's) > I installed: > Apache-1.3.27_4 > mod_auth_pgsql_0.9.12_1 > mod_php4-4.3.1 > PostgreSQL 7.3.2 > I can't find the file php.ini I like config my repository. Check under /usr/local/lib, or /usr/local/lib/php, or /usr/local/share/PEAR. > and from php I can't connect to Postgresql I have this error > Fatal error: call to undefined function pg_connect() > But my script phpinfo(); show me > echo "Hello"; > $conn = pg_connect("dbname=phpdb"); > ?> > The result of this script is > Hello > Fatal error: call to undefined function pg_connect() > Regards, > Ricardo Try and make sure that PostGres support was compiled. HTH, Kevin Kinsey, DaleCo, S.P.