Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2BB93475C77 for ; Sun, 11 Aug 2002 11:07:28 -0400 (EDT) Received: from mercury.flash.net.ph (unknown [202.164.188.5]) by postgresql.org (Postfix) with ESMTP id 8CC52475C73 for ; Sun, 11 Aug 2002 11:07:26 -0400 (EDT) Received: from tasyo (mail@[202.164.188.174]) by mercury.flash.net.ph (8.11.4/8.11.4) with ESMTP id g7BFGMK19568 for ; Sun, 11 Aug 2002 23:16:33 +0800 Received: from bob by tasyo with local (Exim 3.35 #1 (Debian)) id 17duJ1-0000eB-00 for ; Sun, 11 Aug 2002 23:06:59 +0800 Date: Sun, 11 Aug 2002 23:06:53 +0800 From: Benj To: Lista PostgreSQL Subject: Re: can't connect to a postgreSQL database from PHP Message-ID: <20020811150653.GA2344@imagineasia.com> Mail-Followup-To: Lista PostgreSQL References: <001a01c2413a$1b24cb60$cb11a8c0@almah> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001a01c2413a$1b24cb60$cb11a8c0@almah> User-Agent: Mutt/1.3.28i X-Wyverns-Claw: The elf who lived X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/34 X-Sequence-Number: 1379 Carlos wrote: > I get the following error in the web navigator: > "Fatal Error: Calling to undefined function pg_connect() ...)" It seems that PHP can't find your pgsql dynamic extension. Have you edited php.ini to have the correct lines: extension_dir = /path/to/php/extensions extension=pgsql.so -- Benjamin Oris Jr. ImagineAsia Animation Studio