X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 8E0DDD1C9CF for ; Tue, 5 Aug 2003 14:09:46 +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 08959-09 for ; Tue, 5 Aug 2003 11:08:31 -0300 (ADT) Received: from jaguar.mail.utk.edu (jaguar.mail.utk.edu [160.36.0.84]) by svr1.postgresql.org (Postfix) with ESMTP id 94BC0D1C9C8 for ; Tue, 5 Aug 2003 11:09:35 -0300 (ADT) Received: from voyager.phys.utk.edu (voyager.phys.utk.edu [160.36.28.203]) by jaguar.mail.utk.edu (8.12.9/8.12.9) with ESMTP id h75E9Jqo012911; Tue, 5 Aug 2003 10:09:19 -0400 Content-Type: text/plain; charset="iso-2022-jp" From: "Reuben D. Budiardja" Reply-To: techlist@voyager.phys.utk.edu To: Jean-Christian Imbeault , "shreedhar" Subject: Re: Fatal error: Call to undefined function: pg_connect() Date: Tue, 5 Aug 2003 10:22:51 -0400 User-Agent: KMail/1.4.3 References: <005201c35b16$41e216d0$1201a8c0@a4005> <006801c35b22$e47b08f0$1201a8c0@a4005> <3F2F5D40.4050806@mega-bucks.co.jp> In-Reply-To: <3F2F5D40.4050806@mega-bucks.co.jp> Cc: Postgre General MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200308051022.51959.techlist@voyager.phys.utk.edu> X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/210 X-Sequence-Number: 46627 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=1B$B!$=1B(Bbut a new recompile will probably over-write the version yo= u 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= =20 webserver. My guess would be when you update the new postgresql library override the o= ld=20 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= =20 =20 and run the script (or browse it through the web). You will see all your ol= d=20 configure options there. Use that to configure your new PHP (make sure you= =20 have the option --with-pgsql), do "make", 'make install', and you should be= =20 good to go. RDB Reuben D. Budiardja Department of Physics and Astronomy The University of Tennessee, Knoxville, TN ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML=20=20=20=20 \ / email and proprietary format=20=20=20=20=20=20 X attachments. / \ ------------------------------------------------- Have you been used by Microsoft today?=20 Choose your life. Choose freedom.=20 Choose LINUX. -------------------------------------------------