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

Re: Undefined function pg_connect()

From: Gustavo Amarilla Santacruz <gusamasan(at)gmail(dot)com>
To: Chris <dmagick(at)gmail(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Undefined function pg_connect()
Date: 2010-01-28 13:35:49
Message-ID: (view raw or whole thread)
Lists: pgsql-php
Thank you, Chris.

I use the  yum command and i got the following result:

yum install php-pgsql
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package php-pgsql-5.3.1-1.fc12.i686 already installed and latest version
Nothing to do

What i can do?

Thank you, in advance.

On Wed, Jan 27, 2010 at 9:36 PM, Chris <dmagick(at)gmail(dot)com> wrote:

> 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

Gustavo Amarilla

In response to


pgsql-php by date

Next:From: Ireneusz TarnowskiDate: 2010-01-28 13:36:14
Subject: Re: problem with connection to remote server
Previous:From: Bill MoranDate: 2010-01-28 12:43:00
Subject: Re: problem with connection to remote server

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