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 5FC27D1B33D for ; Fri, 4 Jun 2004 04:53:49 -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 63999-02 for ; Fri, 4 Jun 2004 07:53:49 +0000 (GMT) Received: from obie.mrkdns.com (obie.mrkdns.com [69.93.72.82]) by svr1.postgresql.org (Postfix) with ESMTP id 445ACD1B341 for ; Fri, 4 Jun 2004 04:53:47 -0300 (ADT) Received: from 80-235-131-239.cable.ubr13.na.blueyonder.co.uk ([80.235.131.239] helo=[192.168.0.12]) by obie.mrkdns.com with asmtp (Exim 4.34) id 1BW9WO-0002mb-Vu; Fri, 04 Jun 2004 08:53:49 +0100 Message-ID: <40C02AC9.3090406@chuckie.co.uk> Date: Fri, 04 Jun 2004 08:54:49 +0100 From: Nick Barr User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christopher Kings-Lynne Cc: David Cruz , pgsql-php@postgresql.org Subject: Re: Hi!, and a Question References: <20040604051320.98404.qmail@web50104.mail.yahoo.com> <40C009FA.90803@familyhealth.com.au> In-Reply-To: <40C009FA.90803@familyhealth.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - obie.mrkdns.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - chuckie.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200406/15 X-Sequence-Number: 2789 Christopher Kings-Lynne wrote: >> 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. > > > You have not got pgsql support compiled into PHP. > > Chris > > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match > > > Either PHP has not been compiled into PHP, or the extension has not been turned on. Look in php.ini for a line looking like: ;extension=pgsql.so and uncomment it (remove the ;) so it looks like: extension=pgsql.so HTH Nick