From: twohandsfree@hotmail.com
To: pgsql-php@postgresql.org
Subject: not seeing postgres function in php/apache (newbie)
Date: 22 Feb 2004 00:50:44 -0800
Message-ID: <e639cb5b.0402220050.18faa58f@posting.google.com> (raw)
I'm setting up a system (for development) and get the following error:
Fatal error: Call to undefined function: pg_connect() in
/var/www/htdocs/test_pg.php on line 3
PHP 4.3.4 was configured with this:
./configure --with-pgsql --with-apxs --with-mysql --with-pear
AFAIK no errors in ./configure ---> make install steps.
I would like suggestions on the things to check, or procedures to help
debug this. I'm not very experienced with Linux, Apache, PHP, or
Postgres. I just setup this system so any of the four components above
could be faulty. I went through php.ini and httpd.conf per the install
guide in the php source.
Apache serves up it's default start page, phpinfo() works, and I can
create a db with psql.
The distribution is Slackware 9.1.
Thanks in advance.
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: twohandsfree@hotmail.com
Subject: Re: not seeing postgres function in php/apache (newbie)
In-Reply-To: <e639cb5b.0402220050.18faa58f@posting.google.com>
References: <e639cb5b.0402220050.18faa58f@posting.google.com>
* 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