pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: maillist <maillist@tnss.com>
Cc: Postgre Admin <pgsql-admin@postgresql.org>
Subject: Re: Call to undefined function: pg_connect()
Date: Thu, 07 Aug 2003 02:53:55 -0500
Message-ID: <3F320593.9B9674ED@tnss.com> (raw)
References: <002901c35c9d$00259630$1201a8c0@a4005>

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.
> 
> Please some body help me out regarding. I am breaking my head since two
> days.
> 
> Thanks for any idea.
> 
> Regards,
> Sreedhar Bhaskararaju
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
the only time I have received that error message is when
/usr/lib/php4/pgsql.so was not installed on rh 9.0 installation of
server + kde + gnome. seems they didn't install php-pgsql.

to verify that your new php actualy has postgresql configured create
test file
test.php
containing
<?php
phpinfo();
?>

run php -f test.php > test.html
view test.html with browser
and verify that pgsql.so made it into the
/usr/lib/php4 directory

hope this helps, I know my gooooogle search didn't, but the other rh 9.0
install did work and the only thing i did different was to check install
every thing
hope this helps



view thread (7+ messages)  latest in thread

Message-ID: <3F320593.9B9674ED@tnss.com>
Permalink:  ../3F320593.9B9674ED@tnss.com/
Also on:    postgresql.org/message-id/3F320593.9B9674ED@tnss.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: maillist@tnss.com
  Subject: Re: Call to undefined function: pg_connect()
  In-Reply-To: <3F320593.9B9674ED@tnss.com>
  References: <002901c35c9d$00259630$1201a8c0@a4005> <3F320593.9B9674ED@tnss.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox