pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nick Barr <nicky@chuckie.co.uk>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: David Cruz <davidcrmail@yahoo.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Hi!, and a Question
Date: Fri, 04 Jun 2004 08:54:49 +0100
Message-ID: <40C02AC9.3090406@chuckie.co.uk> (raw)
In-Reply-To: <40C009FA.90803@familyhealth.com.au>
References: <20040604051320.98404.qmail@web50104.mail.yahoo.com>
	<40C009FA.90803@familyhealth.com.au>

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




view thread (5+ messages)  latest in thread

Message-ID: <40C02AC9.3090406@chuckie.co.uk>
Permalink:  ../40C02AC9.3090406@chuckie.co.uk/
Also on:    postgresql.org/message-id/40C02AC9.3090406@chuckie.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: nicky@chuckie.co.uk, chriskl@familyhealth.com.au, davidcrmail@yahoo.com
  Subject: Re: Hi!, and a Question
  In-Reply-To: <40C02AC9.3090406@chuckie.co.uk>
  References: <20040604051320.98404.qmail@web50104.mail.yahoo.com> <40C009FA.90803@familyhealth.com.au> <40C02AC9.3090406@chuckie.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox