From: | "A(dot)Bhuvaneswaran" <bhuvan(at)symonds(dot)net> |
---|---|
To: | bruce <bedouglas(at)earthlink(dot)net> |
Cc: | pgsql-novice(at)postgresql(dot)org, <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: Accessing Postgres db from apache using PHP |
Date: | 2003-07-28 03:52:10 |
Message-ID: | Pine.LNX.4.44.0307280920100.1209-100000@Bhuvan.bksys.co.in |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice pgsql-php |
> $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
From | Date | Subject | |
---|---|---|---|
Next Message | A.Bhuvaneswaran | 2003-07-28 03:56:33 | Re: Where's The Primary Key? |
Previous Message | Nabil Sayegh | 2003-07-28 02:42:17 | Re: Where's The Primary Key? |
From | Date | Subject | |
---|---|---|---|
Next Message | bruce | 2003-07-28 04:53:32 | Re: [PHP] Accessing Postgres db from apache using PHP |
Previous Message | Rod Taylor | 2003-07-28 02:24:08 | Re: [PHP] Accessing Postgres db from apache using PHP |