From: Devrim GÜNDÜZ <devrim@gunduz.org>
To: Gustavo Amarilla Santacruz <gusamasan@gmail.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Undefined function pg_connect()
Date: Thu, 28 Jan 2010 02:40:47 +0200
Message-ID: <1264639247.2016.336.camel@hp-laptop2.gunduz.org> (raw)
In-Reply-To: <e4ea2d811001271625r21024e05s5b74340b322b85d5@mail.gmail.com>
References: <e4ea2d811001271625r21024e05s5b74340b322b85d5@mail.gmail.com>
On Wed, 2010-01-27 at 21:25 -0300, Gustavo Amarilla Santacruz wrote:
> 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()
If you are installing from RPMs, you also need to install php-pgsql
package. If you are installing from sources, you will need to recompile
with PostgreSQL support.
--
Devrim GÜNDÜZ, RHCE
Command Prompt - http://www.CommandPrompt.com
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
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: devrim@gunduz.org, gusamasan@gmail.com
Subject: Re: Undefined function pg_connect()
In-Reply-To: <1264639247.2016.336.camel@hp-laptop2.gunduz.org>
References: <e4ea2d811001271625r21024e05s5b74340b322b85d5@mail.gmail.com> <1264639247.2016.336.camel@hp-laptop2.gunduz.org>
* 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