pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: JUAN ERNESTO FLORES BELTRAN <juanernestof@hotmail.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Connection Error
Date: Mon, 12 Sep 2005 08:15:00 -0700
Message-ID: <43259B74.4080009@commandprompt.com> (raw)
In-Reply-To: <BAY14-F10DE76A221B9BF1BD2A35ACD9D0@phx.gbl>
References: <BAY14-F10DE76A221B9BF1BD2A35ACD9D0@phx.gbl>

JUAN ERNESTO FLORES BELTRAN wrote:

> Hi,
>
> 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

You don't have the pgsql.dll extension enabled in the php.ini.

Sincerely,

Joshua D. Drake


>
> 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?
>
> Thanks for your answers
> Juan
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly



-- 
Your PostgreSQL solutions company - Command Prompt, Inc. 1.800.492.2240
PostgreSQL Replication, Consulting, Custom Programming, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/




view thread (6+ messages)

Message-ID: <43259B74.4080009@commandprompt.com>
Permalink:  ../43259B74.4080009@commandprompt.com/
Also on:    postgresql.org/message-id/43259B74.4080009@commandprompt.com

 · 

reply

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: jd@commandprompt.com, juanernestof@hotmail.com
  Subject: Re: Connection Error
  In-Reply-To: <43259B74.4080009@commandprompt.com>
  References: <BAY14-F10DE76A221B9BF1BD2A35ACD9D0@phx.gbl> <43259B74.4080009@commandprompt.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