Re: Call to undefined function: pg_connect()

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: shreedhar <shreedhar(at)lucidindia(dot)net>
Cc: Postgre Admin <pgsql-admin(at)postgresql(dot)org>, Postgre General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Call to undefined function: pg_connect()
Date: 2003-08-07 15:55:06
Message-ID: Pine.LNX.4.33.0308070953510.18251-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Thu, 7 Aug 2003, shreedhar wrote:

> Hi All,
>
> I Updated my Postgresql Server from 7.2.4 which came along with RH7.3 to
> 7.3.2. After updating I could not able to connect database through PHP. So I
> recompiled PHP4.1.2 (same version which have earlier in my system), even
> then I am not able to connect through PHP. Is there any other package has to
> be installed for this connection.

I was playing the other day, and got pgsql 7.3.4, php 4.3.2 and apache
1.3.28 up and running fine on redhat 7.2 with all updates. Straighforward
build. Had some issues trying to make older flavors of php work with
apache after 1.3.27, but updating PHP helped on that.

I'd recommend trying the latest version of PHP if you can upgrade to it,
and see if that helps.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Renney Thomas 2003-08-07 17:42:38 Re: RE : Oracle to PostgreSQL
Previous Message Ben-Nes Michael 2003-08-07 08:51:03 Re: PostgreSql under Linux

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-08-07 16:16:09 Re: cannot open multi-query plan as cursor
Previous Message scott.marlowe 2003-08-07 15:49:31 Re: ext3 block size