pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris <csmith@squiz.net>
To: Paul Joseph McGee <mcgee@student.cs.ucc.ie>
To: pgsql-php@postgresql.org
Subject: Re: Enabling PHP
Date: Tue, 09 Jan 2001 09:20:15 +1100
Message-ID: <4.3.2.7.2.20010109091816.00b2a910@203.25.173.1> (raw)
In-Reply-To: <200101082209.WAA17137@student.cs.ucc.ie>

Hi,

Yup, you're right. PHP hasn't been compiled with PostgreSQL. You need to 
compile PHP again.

If any problems, check out my small tutorial - 
http://designmagick.50megs.com/postgresql-tutorial/
it might help with a step missed or something like that.

Hope that helps..

>I am trying to connect to a databse from a php script but I get the error:
>Fatal error:Call to undefined function: pg_connect(). I read that from the
>mailing list archives that I mustnt have compiled some package with the
>postresql library. Could someone tell me how I would fix this.
>Thanks,
>Paul

------------------------
Chris Smith
http://www.squiz.net




view thread (4+ messages)  latest in thread

Message-ID: <4.3.2.7.2.20010109091816.00b2a910@203.25.173.1>
Permalink:  ../4.3.2.7.2.20010109091816.00b2a910@203.25.173.1/
Also on:    postgresql.org/message-id/4.3.2.7.2.20010109091816.00b2a910@203.25.173.1

 · 

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: csmith@squiz.net, mcgee@student.cs.ucc.ie
  Subject: Re: Enabling PHP
  In-Reply-To: <4.3.2.7.2.20010109091816.00b2a910@203.25.173.1>
  References: <200101082209.WAA17137@student.cs.ucc.ie> <4.3.2.7.2.20010109091816.00b2a910@203.25.173.1>

* 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