Received: from mail.mi.verio.com (mail.mi.verio.com [209.69.6.110]) by hub.org (8.9.3/8.9.3) with ESMTP id PAA98521 for ; Sun, 19 Sep 1999 15:08:35 -0400 (EDT) (envelope-from awilliam@whitemice.org) Received: from whitemice.org (IDENT:root@64-69.pop.gr.mi.verio.com [209.69.64.69] (may be forged)) by mail.mi.verio.com (8.9.1/8.9.1) with ESMTP id OAA18082 for ; Sun, 19 Sep 1999 14:52:12 -0400 (EDT) Received: (from awilliam@localhost) by whitemice.org (8.9.3/8.9.3) id OAA19216 for pgsql-interfaces@postgreSQL.org; Sun, 19 Sep 1999 14:26:59 -0400 From: "Adam Williams" Message-Id: <9909191826.ZM19215@estate1.whitemice.org> Date: Sun, 19 Sep 1999 18:26:59 +0000 In-Reply-To: Peter Mount "Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd)" (Sep 19, 6:45pm) References: X-Mailer: Z-Mail (3.2.1 24feb96 Caldera) To: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 19, 6:45pm, Peter Mount wrote: > Subject: Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd) > On Sun, 19 Sep 1999 wchart@pegasus1.it.kmutt.ac.th wrote: > > > > > I am using a php3 interface come with RedHat6.0 CD. But the error when I > > open .php3 for connecting to PostgreSQL via a Apache is: > > > > Fatal error: Call to unsupported or undefined function pg_connect() in > > myfile.php3 on line 9 > > > > myfile.php3 line 9: $conn = pg_connect("dbname=test"); > > > > Does this mean that mod_php3 package of RedHat6.0 was not compiled with > > PostgreSQL library? > > I believe so. At work, I have a RedHat6.0 machine for some Intranet > development, and I ended up recompiling both apache and php3 to get > postgresql support working. I think the original PHP on RH 6.0 doesn't support PostgreSQL due to an oops at RedHat. There should be an update from the redhat website that fixes the problem.