pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Benj <bastabob@flash.net.ph>
To: Lista PostgreSQL <pgsql-php@postgresql.org>
Subject: Re: can't connect to a postgreSQL database from PHP
Date: Sun, 11 Aug 2002 23:06:53 +0800
Message-ID: <20020811150653.GA2344@imagineasia.com> (raw)
In-Reply-To: <001a01c2413a$1b24cb60$cb11a8c0@almah>
References: <001a01c2413a$1b24cb60$cb11a8c0@almah>

Carlos wrote:

> I get the following error in the web navigator:
> "Fatal Error: Calling to undefined function pg_connect() ...)"

It seems that PHP can't find your pgsql dynamic extension.

Have you edited php.ini to have the correct lines:

    extension_dir = /path/to/php/extensions

    extension=pgsql.so



--
Benjamin Oris Jr. <bastabob@flash.net.ph>
ImagineAsia Animation Studio



view thread (3+ messages)  latest in thread

Message-ID: <20020811150653.GA2344@imagineasia.com>
Permalink:  ../20020811150653.GA2344@imagineasia.com/
Also on:    postgresql.org/message-id/20020811150653.GA2344@imagineasia.com

 · 

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: bastabob@flash.net.ph
  Subject: Re: can't connect to a postgreSQL database from PHP
  In-Reply-To: <20020811150653.GA2344@imagineasia.com>
  References: <001a01c2413a$1b24cb60$cb11a8c0@almah> <20020811150653.GA2344@imagineasia.com>

* 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