PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: - Mailing list pgsql-general

From Abdus Samad Ansari
Subject PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server:
Date
Msg-id 1210586297.16674.3.camel@localhost.localdomain
Whole thread Raw
Responses Re: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server:  (Tino Wildenhain <tino@wildenhain.de>)
Re: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server:  ("Harald Armin Massa" <haraldarminmassa@gmail.com>)
Re: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server:  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server:  (Alban Hertroys <dalroi@solfertje.student.utwente.nl>)
List 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



pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: ORDER BY FIELD feature
Next
From: Tino Wildenhain
Date:
Subject: Re: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: