From: thoyerj@ufrima.imag.fr
To: pgsql-php@postgresql.org
Subject: pg_connect
Date: Fri, 23 May 2003 15:25:59 -0000
Message-ID: <200305231525.RAA60913@athi.ujf-grenoble.fr> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: thoyerj@ufrima.imag.fr
Subject: Re: pg_connect
In-Reply-To: <200305231525.RAA60913@athi.ujf-grenoble.fr>
References: <200305231525.RAA60913@athi.ujf-grenoble.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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