X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 17014D1C517 for ; Thu, 7 Aug 2003 07:54:07 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 43662-06 for ; Thu, 7 Aug 2003 04:52:44 -0300 (ADT) Received: from technet4.t-n-i.dmz (technet65.tnss.com [216.160.28.65]) by svr1.postgresql.org (Postfix) with ESMTP id 5788AD1C4CB for ; Thu, 7 Aug 2003 04:53:55 -0300 (ADT) Received: from tnss.com (IDENT:maillist@technet2.t-n-i.dmz [10.254.254.2]) by technet4.t-n-i.dmz (8.11.6/8.11.6) with ESMTP id h777rvY01406 for ; Thu, 7 Aug 2003 02:53:57 -0500 Message-ID: <3F320593.9B9674ED@tnss.com> Date: Thu, 07 Aug 2003 02:53:55 -0500 From: maillist X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.18-27.7.xsmp i686) X-Accept-Language: en MIME-Version: 1.0 Cc: Postgre Admin Subject: Re: Call to undefined function: pg_connect() References: <002901c35c9d$00259630$1201a8c0@a4005> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/99 X-Sequence-Number: 9822 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 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