From: | Peter Mount <peter(at)retep(dot)org(dot)uk> |
---|---|
To: | wchart(at)pegasus1(dot)it(dot)kmutt(dot)ac(dot)th |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd) |
Date: | 1999-09-19 17:45:22 |
Message-ID: | Pine.LNX.4.10.9909191844370.6793-100000@maidast.retep.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
On Sun, 19 Sep 1999 wchart(at)pegasus1(dot)it(dot)kmutt(dot)ac(dot)th wrote:
>
> I am using a php3 interface come with RedHat6.0 CD. But the error when I
> open .php3 for connecting to PostgreSQL via a Apache is:
>
> Fatal error: Call to unsupported or undefined function pg_connect() in
> myfile.php3 on line 9
>
> myfile.php3 line 9: $conn = pg_connect("dbname=test");
>
> Does this mean that mod_php3 package of RedHat6.0 was not compiled with
> PostgreSQL library?
I believe so. At work, I have a RedHat6.0 machine for some Intranet
development, and I ended up recompiling both apache and php3 to get
postgresql support working.
Peter
--
Peter T Mount peter(at)retep(dot)org(dot)uk
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
Java PDF Generator: http://www.retep.org.uk/pdf
From | Date | Subject | |
---|---|---|---|
Next Message | Adam Williams | 1999-09-19 18:26:59 | Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd) |
Previous Message | Tom Lane | 1999-09-19 15:31:24 | Re: [INTERFACES] JDBC: BigDecimal and Money confusion |