X-Original-To: pgsql-interfaces@postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 2233792356A for ; Fri, 23 May 2003 11:46:22 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 70368-02 for ; Fri, 23 May 2003 11:46:07 -0400 (EDT) Received: from news.hub.org (unknown [64.117.225.234]) by developer.postgresql.org (Postfix) with ESMTP id 76CE3923203 for ; Fri, 23 May 2003 11:09:59 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 54E6F253B67; Fri, 23 May 2003 11:09:59 -0400 (EDT) From: "Johann Thoyer" X-Newsgroups: comp.databases.postgresql.interfaces Subject: pg_connect Date: Fri, 23 May 2003 17:10:50 +0200 Organization: completel Lines: 30 Message-ID: X-Complaints-To: abuse@completel.fr X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 To: pgsql-interfaces@postgresql.org X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/59 X-Sequence-Number: 4177 Hi everybody, Excuse me for my bad english... I've installed Red hat Linux 8.0, and php 4.2.2, apache 2.0.40 and postgresql are installed automatically. Apache and php runs very well (i created a file "test.php" with the instruction phpinfo() and the information appears very well when i load my page in my browser, in particular i see the configure command of php and --with-apxs --with-pgsql=shared take part of it). In an other php file, i try to connect a postgres database with the command pg_connect. And it appears in my browser this error message: Fatal error: Call to undefined function: pg_connect() ... the file httpd.conf contents: LoadModule php4_module modules/libphp4.so the file php.ini contents: pgsql.allow_persistent= On what should i do? Thanks for any help Johann