Re: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server:
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: |
| Дата | |
| Msg-id | 19583.1210603481@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: (Abdus Samad Ansari <ansarias@wbpcb.gov.in>) |
| Ответы |
Re: PHP Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server:
|
| Список | pgsql-general |
Abdus Samad Ansari <ansarias@wbpcb.gov.in> writes:
> 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;
Hmm, so the most useful part of the error message is getting trashed :-(
One possible explanation for that is that you're using a non-thread-safe
libpq in a threaded environment. What PG version is your libpq,
exactly, and how did you build or obtain it?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера