pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carlos <almah@wanadoo.es>
To: Lista PostgreSQL <pgsql-php@postgresql.org>
Subject: can't connect to a postgreSQL database from PHP
Date: Sun, 11 Aug 2002 15:22:07 +0200
Message-ID: <001a01c2413a$1b24cb60$cb11a8c0@almah> (raw)

HelpHi everybody!

I've got a problem using PHP to connect to a postgre database, it seems that
the function for postgre are not recognized or something like that because a
I get the following error in the web navigator:
"Fatal Error: Calling to undefined function pg_connect() ...)"

I configured php with: ./configure --with-apache=/usr/local/apache_1.3.26
                                                 --with-pgsql=shared
                                                 --enable-track-vars
                                                --with-xml
after that I reconfigured Apache to take into account php:

                               ./configure --prefix=/usr/local/apache_1.3.26
                                                --activate-module=src/module
s/php4/libphp4.a


Any idea to solve it?

Thank you all.




view thread (3+ messages)  latest in thread

Message-ID: <001a01c2413a$1b24cb60$cb11a8c0@almah>
Permalink:  ../001a01c2413a$1b24cb60$cb11a8c0@almah/
Also on:    postgresql.org/message-id/001a01c2413a$1b24cb60$cb11a8c0@almah

 · 

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 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: almah@wanadoo.es
  Subject: Re: can't connect to a postgreSQL database from PHP
  In-Reply-To: <001a01c2413a$1b24cb60$cb11a8c0@almah>
  References: <001a01c2413a$1b24cb60$cb11a8c0@almah>

* 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