X-Original-To: pgsql-php@postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 8E771925989 for ; Fri, 23 May 2003 10:53:42 -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 32466-01 for ; Fri, 23 May 2003 10:53:30 -0400 (EDT) Received: from amazone.ujf-grenoble.fr (amazone.ujf-grenoble.fr [193.54.238.254]) by developer.postgresql.org (Postfix) with ESMTP id 662AB9259E7 for ; Fri, 23 May 2003 10:20:10 -0400 (EDT) Received: from athi.ujf-grenoble.fr (athi.ujf-grenoble.fr [193.48.255.131]) by amazone.ujf-grenoble.fr (Switch-2.2.6/Switch-2.2.0/Configured by JE 06 12 2001) with ESMTP id h4NEK7l01509 for ; Fri, 23 May 2003 16:20:07 +0200 (MEST) Received: from ufrima.imag.fr (localhost.ujf-grenoble.fr [127.0.0.1]) by athi.ujf-grenoble.fr (8.9.3/8.9.3) with SMTP id RAA60913 for pgsql-php@postgresql.org; Fri, 23 May 2003 17:25:59 +0200 (CEST) (envelope-from thoyerj@ufrima.imag.fr) Message-Id: <200305231525.RAA60913@athi.ujf-grenoble.fr> Date: Fri, 23 May 2003 15:25:59 -0000 To: pgsql-php@postgresql.org Subject: pg_connect From: X-Mailer: TWIG 2.3.1 X-Client-IP: 213.30.172.228 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/42 X-Sequence-Number: 2047 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