X-Original-To: pgsql-php@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 390AF47580B for ; Fri, 28 Mar 2003 04:16:48 -0500 (EST) Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by postgresql.org (Postfix) with ESMTP id DB1CC474E44 for ; Fri, 28 Mar 2003 04:16:42 -0500 (EST) Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with SMTP id 3B2C249D4; Fri, 28 Mar 2003 09:16:42 +0000 (GMT) Received: by zeta.dmz-eu.st.com (STMicroelectronics, from userid 0) id 8D6EA61D6; Fri, 28 Mar 2003 09:16:30 +0000 (GMT) Received: from agx003.agr.st.com (localhost [127.0.0.1]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 05012184A; Fri, 28 Mar 2003 09:16:30 +0000 (GMT) Received: from st.com (pic.rdd.agr.st.com [164.130.35.126]) by agx003.agr.st.com (8.9.3 (PHNE_24419+JAGae58098)/8.9.3) with ESMTP id KAA15182; Fri, 28 Mar 2003 10:16:29 +0100 (MET) Message-ID: <3E8412A4.753B4F63@st.com> Date: Fri, 28 Mar 2003 10:15:16 +0100 From: Francesco Piccinini X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: jim@luckydigital.com Cc: pgsql-php@postgresql.org Subject: Re: undefined query!!!!! References: <004101c2f504$74561cb0$c900a8c0@jax> Content-Type: multipart/alternative; boundary="------------30E04781290CB3FBBDC2E136" X-Spam-Status: No, hits=-23.7 required=5.0 tests=BAYES_20,EMAIL_ATTRIBUTION,HTML_40_50,PLING_PLING, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES 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/49 X-Sequence-Number: 1961 --------------30E04781290CB3FBBDC2E136 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Has PHP been compiled with postgres support ? Bye, Francesco jim@luckydigital.com wrote: > dear all > > I've subscribed in the hope of a simple answer to my dilemma. > I run a dev box(mandrake) with php4 and postgres fine > I just added postgres support using apt-get on my debian production > box > after restarting apache I get this > > Fatal error: Call to undefined function: pg_query() > when I try to query? > > this was added to my php.ini > extension=pgsql.so > > and I checked it exists > can anyone help? > have i given enough info > > > James --------------30E04781290CB3FBBDC2E136 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Has PHP been compiled with postgres support ?
 

Bye, Francesco

jim@luckydigital.com wrote:

dear all

I've subscribed in the hope of a simple answer to my dilemma.
I run a dev box(mandrake) with php4 and postgres fine
I just added postgres support using apt-get on my debian production box
after restarting apache I get this

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

this was added to my php.ini
extension=pgsql.so

and I checked it exists
can anyone help?
have i given enough info
 

James

--------------30E04781290CB3FBBDC2E136--