X-Original-To: pgsql-php@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 718D247633C for ; Fri, 28 Mar 2003 08:14:37 -0500 (EST) Received: from themode.com (themode.com [161.58.169.198]) by postgresql.org (Postfix) with ESMTP id 4299047580B for ; Fri, 28 Mar 2003 08:14:31 -0500 (EST) Received: from localhost (mode@localhost) by themode.com (8.12.6) id h2SDDxW4051482; Fri, 28 Mar 2003 08:13:59 -0500 (EST) Date: Fri, 28 Mar 2003 08:13:58 -0500 (EST) From: brew@theMode.com X-X-Sender: mode@themode.com To: pgsql-php@postgresql.org Cc: James Cooper Subject: Re: undefined query!!!!! In-Reply-To: <004101c2f504$74561cb0$c900a8c0@jax> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-12.0 required=5.0 tests=BAYES_10,IN_REP_TO,NO_REAL_NAME,PLING_PLING,USER_AGENT_PINE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/50 X-Sequence-Number: 1962 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. Let me know...... brew