pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_connect
2+ messages / 2 participants
[nested] [flat]

* pg_connect
@ 2003-05-23 15:12  Johann Thoyer <thoyer@digigram-nospam.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Johann Thoyer @ 2003-05-23 15:12 UTC (permalink / raw)
  To: pgsql-sql

Hi everybody,

Excuse me for my bad english...

I've installed Red hat Linux 8.0, and php 4.2.2, apache 2.0.40 and
postgresql are installed automatically.

Apache and php runs very well (i created a file "test.php" with the
instruction phpinfo() and the information appears very well when i load my
page in my browser, in particular i see the configure command of php
and --with-apxs --with-pgsql=shared take part of it).

In an other php file, i try to connect a postgres database with the command
pg_connect.
And it appears in my browser this error message:
Fatal error: Call to undefined function: pg_connect() ...

the file httpd.conf contents:
LoadModule php4_module modules/libphp4.so

the file php.ini contents:
pgsql.allow_persistent= On

what should i do?

Thanks for any help

Johann





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_connect
@ 2003-05-25 15:20  Markus Bertheau <twanger@bluetwanger.de>
  parent: Johann Thoyer <thoyer@digigram-nospam.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Markus Bertheau @ 2003-05-25 15:20 UTC (permalink / raw)
  To: Johann Thoyer <thoyer@digigram-nospam.com>; +Cc: pgsql-sql

В Птн, 23.05.2003, в 17:12, Johann Thoyer пишет:
> Fatal error: Call to undefined function: pg_connect() ...

> what should i do?

Install the php-pgsql rpm.

-- 
Markus Bertheau.
Berlin, Berlin.
Germany.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-05-25 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-05-23 15:12 pg_connect Johann Thoyer <thoyer@digigram-nospam.com>
2003-05-25 15:20 ` Markus Bertheau <twanger@bluetwanger.de>

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