pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PJ <af.gourmet@videotron.ca>
To: rod@iol.ie
Cc: Andy Shellam <andy.shellam-lists@mailnetwork.co.uk>
Cc: pgsql-php@postgresql.org
Subject: Re: display query results
Date: Thu, 31 Jul 2008 12:25:23 -0400
Message-ID: <4891E773.4000600@videotron.ca> (raw)
In-Reply-To: <4891C62E.3030202@iol.ie>
References: <48909454.7040305@videotron.ca>
	<82E74D266CB9B44390D3CCE44A781ED90B64DC@POSTOFFICE.cranel.local>
	<4890A871.3020906@videotron.ca>
	<4890AA8C.9080907@spidersilk.net>
	<4890CA07.2040405@videotron.ca>
	<4890D124.7020506@mailnetwork.co.uk>
	<4890D6F6.40709@videotron.ca>
	<4890DBBC.6080404@mailnetwork.co.uk>
	<4890E12F.4050805@videotron.ca>
	<4890E297.3080405@mailnetwork.co.uk>
	<4891C439.6000106@videotron.ca>
	<4891C62E.3030202@iol.ie>

Raymond O'Donnell wrote:
> On 31/07/2008 14:55, PJ wrote:
>> Now I am trying to verify the padding on "Alcohol" and in so doing 
>> tried to invoke phpPgAdmin... and you gussed it, I tried to follow 
>> all hte INSTALL instructions and http://localhost/phppgadmin just 
>> gives "cannot find on this server"
>
> What web server are you running? What platform? How did you set it up?
FreeBS D7.0, postgresql 8.3.3 php 5.2.6, php5-pgsql5.2.6_1, apache 
2.2.9, phpPgAdmin4.2_1,
>
>> On to of it, the same script I ran yesterday now give me "Fatal 
>> error" Call to undefined function pg_connect() on line 10. Worked 
>> fine yesterday.
>> Wonder what it is that I screwed up?
>
> This suggests that the PG functions aren't enabled in PHP, which is 
> kind of weird since they worked before. If you're on Windows, I'd 
> double-check your php.ini file to make sure that the PostgreSQL 
> extension is enabled (not commented out).
I just reconfigured php.ini, postgresql.conf to what they were before 
but no change.
What is weird is that I have the file extensions.ini under the php 
directory but I cannot find a reference to it in any conf file.
There is an entry in php.ini :
; UNIX: "/path1:/path2"
#include_path = ".:/usr/local/share/pear"
So, path1 would seem to mean what? The period means what?
The extensions.ini is in the /usr/local/etc/php/ directory. I recall 
configuring the extensions.ini file a while back but for the life of me 
I cannot recall how or where it was referred to.
Should I be setting the include path1 to ../ for the extensions or 
/usr/local/etc/php ?
>
>
> Ray.
>
> ------------------------------------------------------------------
> Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
> rod@iol.ie
> Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
> ------------------------------------------------------------------
>




view thread (21+ messages)  latest in thread

Message-ID: <4891E773.4000600@videotron.ca>
Permalink:  ../4891E773.4000600@videotron.ca/
Also on:    postgresql.org/message-id/4891E773.4000600@videotron.ca

 · 

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: af.gourmet@videotron.ca, rod@iol.ie, andy.shellam-lists@mailnetwork.co.uk
  Subject: Re: display query results
  In-Reply-To: <4891E773.4000600@videotron.ca>
  References: <48909454.7040305@videotron.ca> <82E74D266CB9B44390D3CCE44A781ED90B64DC@POSTOFFICE.cranel.local> <4890A871.3020906@videotron.ca> <4890AA8C.9080907@spidersilk.net> <4890CA07.2040405@videotron.ca> <4890D124.7020506@mailnetwork.co.uk> <4890D6F6.40709@videotron.ca> <4890DBBC.6080404@mailnetwork.co.uk> <4890E12F.4050805@videotron.ca> <4890E297.3080405@mailnetwork.co.uk> <4891C439.6000106@videotron.ca> <4891C62E.3030202@iol.ie> <4891E773.4000600@videotron.ca>

* 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