can't connect to a postgreSQL database from PHP

From: "Carlos" <almah(at)wanadoo(dot)es>
To: "Lista PostgreSQL" <pgsql-php(at)postgresql(dot)org>
Subject: can't connect to a postgreSQL database from PHP
Date: 2002-08-11 13:22:07
Message-ID: 001a01c2413a$1b24cb60$cb11a8c0@almah
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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.

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Benj 2002-08-11 15:06:53 Re: can't connect to a postgreSQL database from PHP
Previous Message hodges 2002-08-09 01:27:00 Re: PHP + PostgreSQL