Skip site navigation (1) Skip section navigation (2)

Re: pg_query undefined?

From: Ray Hunter <rhunter(at)venticon(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: pg_query undefined?
Date: 2003-07-13 06:00:12
Message-ID: 1058076012.5117.4.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-php
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


In response to

Responses

pgsql-php by date

Next:From: Gerd TerlutterDate: 2003-07-13 13:59:36
Subject: Re: pg_query undefined?
Previous:From: Joe ConwayDate: 2003-07-12 23:15:36
Subject: Re: pg_query undefined?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group