From: John DeSoi <desoi@pgedit.com>
To: JUAN ERNESTO FLORES BELTRAN <juanernestof@hotmail.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Connection Error
Date: Mon, 12 Sep 2005 09:27:30 -0400
Message-ID: <3CC8386A-F17C-4ADF-8305-916B62DABF23@pgedit.com> (raw)
In-Reply-To: <BAY14-F10DE76A221B9BF1BD2A35ACD9D0@phx.gbl>
References: <BAY14-F10DE76A221B9BF1BD2A35ACD9D0@phx.gbl>
On Sep 12, 2005, at 9:02 AM, JUAN ERNESTO FLORES BELTRAN wrote:
> I am trying to develop a graphical and statistical interface wiht
> PHP and Postgresql, however it seems is not possible to connect
> properly to the database i have creates. Everytime i try to connect
> to my database i receive the following message at the PHP interface:
>
> Fatal error: Call to undefined function pg_connect() in c:\Inetpub
> \wwwroot\Untitled.php on line 8
>
> I installed php-5.0.5-Win32.zip and PostgreSQL8.0, them both are
> installed in my PC (win2000) wich have been configured as a server.
> What the problem could be?
Windows comes with lots of modules precompiled but they are not
enabled by default. Look at your php.ini file and make sure the
PostgreSQL module is enabled. You should find the line below; just
remove the leading ";".
;extension=php_pgsql.dll
John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL
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: desoi@pgedit.com, juanernestof@hotmail.com
Subject: Re: Connection Error
In-Reply-To: <3CC8386A-F17C-4ADF-8305-916B62DABF23@pgedit.com>
References: <BAY14-F10DE76A221B9BF1BD2A35ACD9D0@phx.gbl> <3CC8386A-F17C-4ADF-8305-916B62DABF23@pgedit.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