Re: Accessing Postgres db from apache using PHP

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Accessing Postgres db from apache using PHP
Дата
Msg-id 1059359048.8643.13.camel@jester
обсуждение исходный текст
Ответ на Accessing Postgres db from apache using PHP  ("bruce" <bedouglas@earthlink.net>)
Ответы Re: Accessing Postgres db from apache using PHP  ("bruce" <bedouglas@earthlink.net>)
Список pgsql-php
> i then do a:
>     $tmp = "host=localhost dbname=gforge user=gforge password=gforge";
>     $conn = @pg_connect($tmp);

Since host=localhost, the client will attempt to connect to the server
on 127.0.0.1.  By default, TCPIP access is not enabled.  To do so, see
postgresql.conf, make the change to the tcpip variable, and HUP the
server.

However, if you leave host=<blank>, the client will attempt to connect
to the server via the local domain socket which is both enabled by
default and should be a touch faster due to more efficient data
transmission.

Вложения

В списке pgsql-php по дате отправления:

Предыдущее
От: Michael Vodep
Дата:
Сообщение: How to make a BLOB record public!?
Следующее
От: "bruce"
Дата:
Сообщение: Re: Accessing Postgres db from apache using PHP