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

Re: Undefined function pg_connect()

From: Chris <dmagick(at)gmail(dot)com>
To: Gustavo Amarilla Santacruz <gusamasan(at)gmail(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Undefined function pg_connect()
Date: 2010-01-28 00:36:51
Message-ID: 4B60DC23.9020404@gmail.com (view raw or flat)
Thread:
Lists: pgsql-php
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/


In response to

Responses

pgsql-php by date

Next:From: Devrim GÜNDÜZDate: 2010-01-28 00:40:47
Subject: Re: Undefined function pg_connect()
Previous:From: Gustavo Amarilla SantacruzDate: 2010-01-28 00:25:44
Subject: Undefined function pg_connect()

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