X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 346EFD1B1EC for ; Fri, 4 Jun 2004 02:13:24 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 10537-09 for ; Fri, 4 Jun 2004 05:13:22 +0000 (GMT) Received: from web50104.mail.yahoo.com (web50104.mail.yahoo.com [206.190.38.32]) by svr1.postgresql.org (Postfix) with SMTP id D6D18D1B1A1 for ; Fri, 4 Jun 2004 02:13:20 -0300 (ADT) Message-ID: <20040604051320.98404.qmail@web50104.mail.yahoo.com> Received: from [200.119.11.133] by web50104.mail.yahoo.com via HTTP; Thu, 03 Jun 2004 22:13:20 PDT Date: Thu, 3 Jun 2004 22:13:20 -0700 (PDT) From: David Cruz Subject: Hi!, and a Question To: pgsql-php@postgresql.org In-Reply-To: <200406040452.i544qDK29419@hosting.commandprompt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200406/12 X-Sequence-Number: 2786 Hello to everybody! I'm David from Colombia. I'm learning Postgresql and using PHP. And I'm trying to connect from my php web page to PostgreSQL, I use this function: $connection = pg_connect("host=gatuno port=5432 dbname=cdtaller4_3"); and when I look it on the browser it shows: Fatal error: Call to undefined function: pg_connect() in /var/www/index2.php on line 8 - I have PostgreSQL 7.4 , Apache is working well, and all other php scripts too. I'm using knoppix and I looked at the KPackage and I have php4-pgsql installed. Does somebody know what could be happening? thanks! __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/