pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Johann Thoyer <thoyer@digigram-nospam.com>
To: pgsql-interfaces@postgresql.org
Subject: pg_connect
Date: Fri, 23 May 2003 17:10:50 +0200
Message-ID: <baldin$j33$1@d03.completel.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





Message-ID: <baldin$j33$1@d03.completel.fr>
Permalink:  ../baldin$j33$1@d03.completel.fr/
Also on:    postgresql.org/message-id/baldin$j33$1@d03.completel.fr

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: thoyer@digigram-nospam.com
  Subject: Re: pg_connect
  In-Reply-To: <baldin$j33$1@d03.completel.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