pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris <dmagick@gmail.com>
To: Gustavo Amarilla Santacruz <gusamasan@gmail.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Undefined function pg_connect()
Date: Thu, 28 Jan 2010 11:36:51 +1100
Message-ID: <4B60DC23.9020404@gmail.com> (raw)
In-Reply-To: <e4ea2d811001271625r21024e05s5b74340b322b85d5@mail.gmail.com>
References: <e4ea2d811001271625r21024e05s5b74340b322b85d5@mail.gmail.com>

Gustavo Amarilla Santacruz wrote:
> Hello, all.
> 
> I had installed php + postgresql on Fedora12. When the php script call 
> to "pg_connect()", the following message is displayed:
> 
> Fatal error: Call to undefined function pg_connect() in /var/www/html/ 
> ..... Call Stack: 0.0325 487160 1. {main}() ....
> 
> 
> What i can do?

You need the php-pgsql package if you installed via rpm.

Once you have that installed, restart apache and see how you go.

-- 
Postgresql & php tutorials
http://www.designmagick.com/




view thread (15+ messages)  latest in thread

Message-ID: <4B60DC23.9020404@gmail.com>
Permalink:  ../4B60DC23.9020404@gmail.com/
Also on:    postgresql.org/message-id/4B60DC23.9020404@gmail.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: dmagick@gmail.com, gusamasan@gmail.com
  Subject: Re: Undefined function pg_connect()
  In-Reply-To: <4B60DC23.9020404@gmail.com>
  References: <e4ea2d811001271625r21024e05s5b74340b322b85d5@mail.gmail.com> <4B60DC23.9020404@gmail.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