From: Gustavo Amarilla Santacruz <gusamasan@gmail.com>
To: Chris <dmagick@gmail.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Undefined function pg_connect()
Date: Thu, 28 Jan 2010 10:35:49 -0300
Message-ID: <e4ea2d811001280535j5d182a83s819a2b0590867dd5@mail.gmail.com> (raw)
In-Reply-To: <4B60DC23.9020404@gmail.com>
References: <e4ea2d811001271625r21024e05s5b74340b322b85d5@mail.gmail.com>
<4B60DC23.9020404@gmail.com>
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@gmail.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
> http://www.designmagick.com/
>
>
---------------------------
Gustavo Amarilla
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: gusamasan@gmail.com, dmagick@gmail.com
Subject: Re: Undefined function pg_connect()
In-Reply-To: <e4ea2d811001280535j5d182a83s819a2b0590867dd5@mail.gmail.com>
References: <e4ea2d811001271625r21024e05s5b74340b322b85d5@mail.gmail.com> <4B60DC23.9020404@gmail.com> <e4ea2d811001280535j5d182a83s819a2b0590867dd5@mail.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