Skip site navigation (1) Skip section navigation (2)

Re: Hi!, and a Question

From: Nick Barr <nicky(at)chuckie(dot)co(dot)uk>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: David Cruz <davidcrmail(at)yahoo(dot)com>, pgsql-php(at)postgresql(dot)org
Subject: Re: Hi!, and a Question
Date: 2004-06-04 07:54:49
Message-ID: (view raw or whole thread)
Lists: pgsql-php
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:


and uncomment it (remove the ;) so it looks like:



In response to

pgsql-php by date

Next:From: Robert TreatDate: 2004-06-04 14:35:53
Subject: Re: PHP memory usage
Previous:From: Greg StarkDate: 2004-06-04 06:05:02
Subject: Re: SSL PostgreSQL and PHP

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group