Re: Undefined function pg_connect() - Mailing list pgsql-php

From Raymond O'Donnell
Subject Re: Undefined function pg_connect()
Date
Msg-id 4B642BB7.80907@iol.ie
Whole thread Raw
In response to Re: Undefined function pg_connect()  (Gustavo Amarilla Santacruz <gusamasan@gmail.com>)
List pgsql-php
On 30/01/2010 12:33, Gustavo Amarilla Santacruz wrote:
> "Warning: pg_connect(): Unable to connect to PostgreSQL server: could
> not connect to server: Permission denied Is the server running on host
> "localhost" and accepting TCP/IP connections on port 5432? could not
> connect to server: Permission denied Is the server running on host
> "localhost" and accepting TCP/IP connections on port 5432?"
>
>
>
>
> The pg_hba.conf file containt:
>



Sounds like you're getting somewhere - the PG extension is being found now.

The error above is nothing to do with pg_hba.conf; if the connection was
being denied because of a rule there, the error would say so explicitly.
Rather, it's a network problem of some kind. Is the server actually
running? Is there a firewall preventing access?

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

pgsql-php by date:

Previous
From: Gustavo Amarilla Santacruz
Date:
Subject: Re: Undefined function pg_connect()
Next
From: Chris
Date:
Subject: Re: Undefined function pg_connect()