PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server:

From: Abdus Samad Ansari <ansarias(at)wbpcb(dot)gov(dot)in>
To: pgsql-general(at)postgresql(dot)org
Subject: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server:
Date: 2008-05-12 09:58:17
Message-ID: 1210586297.16674.3.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

PHP Warning: pg_connect(): Unable to connect to PostgreSQL server:
could not connect to server:
I have setup PHP/Postgres and is running fine upto document root
i.e. /var/www/html, but when i am calling it through a cgi-bin php file
it is giving log error as :
[error] [client 127.0.0.1] PHP Warning: pg_connect(): Unable to connect
to PostgreSQL server: could not connect to server: \x04\xe6\xe3\xbfPF;

what may be the solution.

--Abdus Samad Ansari

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tino Wildenhain 2008-05-12 12:25:38 Re: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server:
Previous Message Guillaume Lelarge 2008-05-12 09:27:17 Re: ORDER BY FIELD feature