pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: brew@theMode.com
To: pgsql-php@postgresql.org
Cc: James Cooper <jim@luckydigital.com>
Subject: Re: undefined query!!!!!
Date: Fri, 28 Mar 2003 08:13:58 -0500 (EST)
Message-ID: <Pine.BSF.4.44.0303280755380.40579-100000@themode.com> (raw)
In-Reply-To: <004101c2f504$74561cb0$c900a8c0@jax>


James......

> Fatal error: Call to undefined function: pg_query()
> when I try to query?

I think you need another package, too, possibly php4-pgsql, which contains
the php functions for postgreSQL.

apt-get install php4-pgsql

Be assured that I'm running postgreSQL, apache and php4 using off the
shelf packages in Debian (stable version) on my development laptop and it
works fine.  If you really get stuck I can check exactly what packages
I've loaded, but I think you've almost got it running.

You can check that postgreSQL support (plus lots of other information
about your php) with phpinfo.

<?php
phpinfo();
?>

Let me know......

brew




view thread (3+ messages)

Message-ID: <Pine.BSF.4.44.0303280755380.40579-100000@themode.com>
Permalink:  ../Pine.BSF.4.44.0303280755380.40579-100000@themode.com/
Also on:    postgresql.org/message-id/Pine.BSF.4.44.0303280755380.40579-100000@themode.com

 · 

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: brew@theMode.com, jim@luckydigital.com
  Subject: Re: undefined query!!!!!
  In-Reply-To: <Pine.BSF.4.44.0303280755380.40579-100000@themode.com>
  References: <004101c2f504$74561cb0$c900a8c0@jax> <Pine.BSF.4.44.0303280755380.40579-100000@themode.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