Re: Accessing Postgres db from apache using PHP - Mailing list pgsql-novice

From A.Bhuvaneswaran
Subject Re: Accessing Postgres db from apache using PHP
Date
Msg-id Pine.LNX.4.44.0307280920100.1209-100000@Bhuvan.bksys.co.in
Whole thread Raw
In response to Accessing Postgres db from apache using PHP  ("bruce" <bedouglas@earthlink.net>)
List 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 by date:

Previous
From: Nabil Sayegh
Date:
Subject: Re: Where's The Primary Key?
Next
From: "A.Bhuvaneswaran"
Date:
Subject: Re: Where's The Primary Key?