Re: Accessing Postgres db from apache using PHP

Поиск
Список
Период
Сортировка
От A.Bhuvaneswaran
Тема Re: Accessing Postgres db from apache using PHP
Дата
Msg-id Pine.LNX.4.44.0307280920100.1209-100000@Bhuvan.bksys.co.in
обсуждение исходный текст
Ответ на Accessing Postgres db from apache using PHP  ("bruce" <bedouglas@earthlink.net>)
Список pgsql-novice
>     $tmp = "host=localhost dbname=gforge user=gforge password=gforge";
>     $conn = @pg_connect($tmp);
>
> at this point $conn is not set... it should be a resouce if I've connect to
> the DB..!!!!!!!

Did you uncomment the below line in /etc/php.ini?
;extension=pgsql.so
If not do it and restart your httpd. Hope it helps.

regards,
bhuvaneswaran


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

Предыдущее
От: Nabil Sayegh
Дата:
Сообщение: Re: Where's The Primary Key?
Следующее
От: "A.Bhuvaneswaran"
Дата:
Сообщение: Re: Where's The Primary Key?