Re: Undefined function pg_connect()

Chris <[email protected]> Thu, 28 Jan 2010 11:36:51 +1100
Newsgroups gmane.comp.db.postgresql.php
Message-ID <[email protected]>
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/


-- 
Sent via pgsql-php mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php