Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4623B475A0B for ; Sun, 11 Aug 2002 09:19:30 -0400 (EDT) Received: from smtp.wanadoo.es (unknown [62.37.236.139]) by postgresql.org (Postfix) with ESMTP id 3C53547592A for ; Sun, 11 Aug 2002 09:19:29 -0400 (EDT) Received: from almah (62-37-90-54.dialup.uni2.es [62.37.90.54]) by smtp.wanadoo.es (8.11.6/8.11.6) with SMTP id g8QFGoM17716 for ; Thu, 26 Sep 2002 17:16:56 +0200 Message-ID: <001a01c2413a$1b24cb60$cb11a8c0@almah> From: "Carlos" To: "Lista PostgreSQL" Subject: can't connect to a postgreSQL database from PHP Date: Sun, 11 Aug 2002 15:22:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/33 X-Sequence-Number: 1378 HelpHi everybody! I've got a problem using PHP to connect to a postgre database, it seems that the function for postgre are not recognized or something like that because a I get the following error in the web navigator: "Fatal Error: Calling to undefined function pg_connect() ...)" I configured php with: ./configure --with-apache=/usr/local/apache_1.3.26 --with-pgsql=shared --enable-track-vars --with-xml after that I reconfigured Apache to take into account php: ./configure --prefix=/usr/local/apache_1.3.26 --activate-module=src/module s/php4/libphp4.a Any idea to solve it? Thank you all.