From owner-freebsd-questions Mon Sep 3 0:22:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mip.co.za (puck.mip.co.za [209.212.106.44]) by hub.freebsd.org (Postfix) with ESMTP id 383CB37B403 for ; Mon, 3 Sep 2001 00:22:10 -0700 (PDT) Received: from patrick (patrick.mip.co.za [10.3.13.181]) by mip.co.za (8.9.3/8.9.3) with SMTP id JAA25302 for ; Mon, 3 Sep 2001 09:22:07 +0200 (SAST) (envelope-from patrick@mip.co.za) From: "Patrick O'Reilly" To: "FreeBSD Question List" Subject: Which package am I missing? Date: Mon, 3 Sep 2001 09:24:01 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all.... Does anyone know which package I need to install from the ports collection to enable mod_php4 code to access a PostgreSQL database? I did some work for a customer on a box that was already set up under Mandrake, and now I'm trying to get the code running on BSD 4.3 with Apache 3.19, but I get this error: > Fatal error: Call to undefined function: pg_connect() in /usr/www/ehealthcare/php/common_functions.php on line 89 which tells me that my php installation is missing the PostgreSQL functions, which were evidently installed on the Mandrake box before I was involved. PS: before you ask, here's my 'pkg_info': carrot:/www/ehealthcare# pkg_info apache+mod_ssl-1.3.19+2.8.2 The Apache 1.3 webserver with SSL/TLS functionality apache-1.3.19_1 The extremely popular Apache http server. Very fast, very bash-2.05 The GNU Bourne Again Shell gettext-0.10.35 GNU gettext package mm-1.1.3 Shared memory library for applications with pre-forked proc mod_php3-3.0.18 PHP3 module for Apache mod_php4-4.0.4pl1 PHP4 module for Apache mreport-0.9 Sendmail logfile summary tool mysql-client-3.23.36 Multithreaded SQL database (client) php4-4.0.4pl1 PHP4 commandline interpreter phppgadmin-2.2.1.p1 Web Based Postgres Administration postgresql-7.0.3_1 A robust, next generation, object-relational DBMS wget-1.6_2 Retrieve files from the 'net via HTTP and FTP Thanks for any light... Patrick. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message