pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: shreedhar <shreedhar@lucidindia.net>
To: satish <satish@lucidindia.net>
To: Jean-Christian Imbeault <jc@mega-bucks.co.jp>
To: techlist@voyager.phys.utk.edu
Cc: Postgre General <pgsql-general@postgresql.org>
Subject: Re: Fatal error: Call to undefined function: pg_connect()
Date: Wed, 6 Aug 2003 23:48:49 +0530
Message-ID: <002001c35c47$30bcf870$1201a8c0@a4005> (raw)
References: <005201c35b16$41e216d0$1201a8c0@a4005>
	<006801c35b22$e47b08f0$1201a8c0@a4005>
	<3F2F5D40.4050806@mega-bucks.co.jp>
	<200308051022.51959.techlist@voyager.phys.utk.edu>

Hi All,

After Updating Postgre Server from 7.2.4 to 7.3.2, I have recompiled same
version of PHP which is available earlier in RH7.3 (i.e.  PHP 4.1.2).
Updated php.ini.
But still pg_connect problem is persisting.

Regards,
Sreedhar
----- Original Message -----
From: "Reuben D. Budiardja" <techlist@voyager.phys.utk.edu>
To: "Jean-Christian Imbeault" <jc@mega-bucks.co.jp>; "shreedhar"
<shreedhar@lucidindia.net>
Cc: "Postgre General" <pgsql-general@postgresql.org>
Sent: Tuesday, August 05, 2003 7:52 PM
Subject: Re: [GENERAL] Fatal error: Call to undefined function: pg_connect()


> On Tuesday 05 August 2003 03:31 am, Jean-Christian Imbeault wrote:
> > shreedhar wrote:
> > > Is it necessary to uninstall previous version of PHP in my system.
> >
> > No,but a new recompile will probably over-write the version you have
now.
> >
> > > Which is the better compatible version for Postgre 7.3.2.
> >
> > Most recent should be the best I would think.
> >
> > > Can you give any link/info for recompiling PHP
> >
> > www.php.net ?
> >
> > If you have never compiled PHP before I would suggest reading up on
> > compilation before-hand and even asking the php help list. Recompiling
> > PHP also means you need to recompile Apache (if that is the web server
> > you are using).
>
> No, you don't need to recompile Apache to recompile PHP, just restart the
> webserver.
>
> My guess would be when you update the new postgresql library override the
old
> one, so PHP needs to be recompile to use the new library.
>
> My suggestion, easiest thing to do would be to write a PHP script with
just
> <?
> phpinfo();
> ?>
> and run the script (or browse it through the web). You will see all your
old
> configure options there. Use that to configure your new PHP (make sure you
> have the option --with-pgsql), do "make", 'make install', and you should
be
> good to go.
>
> RDB
>
>
> Reuben D. Budiardja
> Department of Physics and Astronomy
> The University of Tennessee, Knoxville, TN
> -------------------------------------------------
> /"\  ASCII Ribbon Campaign against HTML
> \ /  email and proprietary format
>  X   attachments.
> / \
> -------------------------------------------------
> Have you been used by Microsoft today?
> Choose your life. Choose freedom.
> Choose LINUX.
> -------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>




view thread (6+ messages)

Message-ID: <002001c35c47$30bcf870$1201a8c0@a4005>
Permalink:  ../002001c35c47$30bcf870$1201a8c0@a4005/
Also on:    postgresql.org/message-id/002001c35c47$30bcf870$1201a8c0@a4005

 · 

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: shreedhar@lucidindia.net, satish@lucidindia.net, jc@mega-bucks.co.jp, techlist@voyager.phys.utk.edu, pgsql-general@postgresql.org
  Subject: Re: Fatal error: Call to undefined function: pg_connect()
  In-Reply-To: <002001c35c47$30bcf870$1201a8c0@a4005>
  References: <005201c35b16$41e216d0$1201a8c0@a4005> <006801c35b22$e47b08f0$1201a8c0@a4005> <3F2F5D40.4050806@mega-bucks.co.jp> <200308051022.51959.techlist@voyager.phys.utk.edu> <002001c35c47$30bcf870$1201a8c0@a4005>

* 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