Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A4789650406 for ; Thu, 31 Jul 2008 17:32:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 66403-01-2 for ; Thu, 31 Jul 2008 17:32:37 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by postgresql.org (Postfix) with ESMTP id AB68A65036F for ; Thu, 31 Jul 2008 17:32:39 -0300 (ADT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8; format=flowed Received: from [192.168.0.51] ([96.21.103.185]) by VL-MO-MR005.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0K4W00MY511OW6E0@VL-MO-MR005.ip.videotron.ca> for pgsql-php@postgresql.org; Thu, 31 Jul 2008 16:32:12 -0400 (EDT) Message-id: <4892216F.1000104@videotron.ca> Date: Thu, 31 Jul 2008 16:32:47 -0400 From: PJ User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) To: rod@iol.ie Cc: Andy Shellam , pgsql-php@postgresql.org Subject: Re: display query results 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> In-reply-to: <4891C62E.3030202@iol.ie> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200807/20 X-Sequence-Number: 3884 Finally muddled my way throught the php.ini file and set the includes and extensions right. So, thanks much all. 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 > ------------------------------------------------------------------ >