pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ray Hunter <rhunter@venticon.com>
To: pgsql-php@postgresql.org
Subject: Re: pg_query undefined?
Date: 13 Jul 2003 00:00:12 -0600
Message-ID: <1058076012.5117.4.camel@localhost.localdomain> (raw)
In-Reply-To: <BB3609D4.544%lynna@gallery44.org>
References: <BB3609D4.544%lynna@gallery44.org>

Also make sure that pgsql is installed in php. By checking the phpinfo()
function u can verify your php version (4.2+) and if pgsql has been
compiled into php. 

If you have 4.2 or higher than u might need to compile pgsql into php.

--
Ray

On Sat, 2003-07-12 at 16:54, Lynna Landstreet wrote:
> Does anyone know why trying to run a simple demo script (the one that came
> with EZ_SQL from php.justinvincent.com) would be giving me an error saying
> that pg_query() is an undefined function? It's a standard function built
> into PHP, isn't it? It's listed in the manual...
> 
> I know the installation of PHP at our web host does have PostgreSQL support,
> because when I ran phpinfo() it seemed to say all the right things about it,
> so this is really confusing me.
> 
> 
> Lynna




view thread (6+ messages)  latest in thread

Message-ID: <1058076012.5117.4.camel@localhost.localdomain>
Permalink:  ../1058076012.5117.4.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1058076012.5117.4.camel@localhost.localdomain

 · 

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: rhunter@venticon.com
  Subject: Re: pg_query undefined?
  In-Reply-To: <1058076012.5117.4.camel@localhost.localdomain>
  References: <BB3609D4.544%lynna@gallery44.org> <1058076012.5117.4.camel@localhost.localdomain>

* 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