Skip site navigation (1) Skip section navigation (2)

Re: Connection Error

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: JUAN ERNESTO FLORES BELTRAN <juanernestof(at)hotmail(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Connection Error
Date: 2005-09-12 15:15:00
Message-ID: 43259B74.4080009@commandprompt.com (view raw or flat)
Thread:
Lists: pgsql-php
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(at)postgresql(dot)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/


In response to

pgsql-php by date

Next:From: JUAN ERNESTO FLORES BELTRANDate: 2005-09-12 15:27:40
Subject: Re: Connection Error[Scanned]
Previous:From: John DeSoiDate: 2005-09-12 13:27:30
Subject: Re: Connection Error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group