Re: Undefined function pg_connect() - Mailing list pgsql-php

From Chris
Subject Re: Undefined function pg_connect()
Date
Msg-id 4B60DC23.9020404@gmail.com
Whole thread Raw
In response to Undefined function pg_connect()  (Gustavo Amarilla Santacruz <gusamasan@gmail.com>)
Responses Re: Undefined function pg_connect()  (Gustavo Amarilla Santacruz <gusamasan@gmail.com>)
List 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/


pgsql-php by date:

Previous
From: Gustavo Amarilla Santacruz
Date:
Subject: Undefined function pg_connect()
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: Undefined function pg_connect()