pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd)
4+ messages / 4 participants
[nested] [flat]
* mod_php3 distributed with RedHat6.0 (fwd)
@ 1999-09-20 05:08 wchart@pegasus1.it.kmutt.ac.th
1999-09-19 17:45 ` Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd) Peter Mount <peter@retep.org.uk>
1999-09-19 20:50 ` Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd) Brett W. McCoy <bmccoy@lan2wan.com>
0 siblings, 2 replies; 4+ messages in thread
From: wchart@pegasus1.it.kmutt.ac.th @ 1999-09-20 05:08 UTC (permalink / raw)
To: pgsql-interfaces
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?
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd)
1999-09-20 05:08 mod_php3 distributed with RedHat6.0 (fwd) wchart@pegasus1.it.kmutt.ac.th
@ 1999-09-19 17:45 ` Peter Mount <peter@retep.org.uk>
1999-09-19 18:26 ` Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd) Adam Williams <awilliam@whitemice.org>
1 sibling, 1 reply; 4+ messages in thread
From: Peter Mount @ 1999-09-19 17:45 UTC (permalink / raw)
To: wchart@pegasus1.it.kmutt.ac.th; +Cc: pgsql-interfaces
On Sun, 19 Sep 1999 wchart@pegasus1.it.kmutt.ac.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@retep.org.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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd)
1999-09-20 05:08 mod_php3 distributed with RedHat6.0 (fwd) wchart@pegasus1.it.kmutt.ac.th
1999-09-19 17:45 ` Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd) Peter Mount <peter@retep.org.uk>
@ 1999-09-19 18:26 ` Adam Williams <awilliam@whitemice.org>
0 siblings, 0 replies; 4+ messages in thread
From: Adam Williams @ 1999-09-19 18:26 UTC (permalink / raw)
To: pgsql-interfaces
On Sep 19, 6:45pm, Peter Mount wrote:
> Subject: Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd)
> On Sun, 19 Sep 1999 wchart@pegasus1.it.kmutt.ac.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.
I think the original PHP on RH 6.0 doesn't support PostgreSQL due to an oops at
RedHat. There should be an update from the redhat website that fixes the
problem.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: [INTERFACES] mod_php3 distributed with RedHat6.0 (fwd)
1999-09-20 05:08 mod_php3 distributed with RedHat6.0 (fwd) wchart@pegasus1.it.kmutt.ac.th
@ 1999-09-19 20:50 ` Brett W. McCoy <bmccoy@lan2wan.com>
1 sibling, 0 replies; 4+ messages in thread
From: Brett W. McCoy @ 1999-09-19 20:50 UTC (permalink / raw)
To: wchart@pegasus1.it.kmutt.ac.th; +Cc: pgsql-interfaces
On Sun, 19 Sep 1999 wchart@pegasus1.it.kmutt.ac.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?
That what it looks like.
Brett W. McCoy
http://www.lan2wan.com/~bmccoy/
-----------------------------------------------------------------------
"The Mets were great in 'sixty eight,
The Cards were fine in 'sixty nine,
But the Cubs will be heavenly in nineteen and seventy."
-- Ernie Banks
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~1999-09-20 05:08 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-09-20 05:08 mod_php3 distributed with RedHat6.0 (fwd) wchart@pegasus1.it.kmutt.ac.th
1999-09-19 17:45 ` Peter Mount <peter@retep.org.uk>
1999-09-19 18:26 ` Adam Williams <awilliam@whitemice.org>
1999-09-19 20:50 ` Brett W. McCoy <bmccoy@lan2wan.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox