X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5F4E8D7AB7 for ; Mon, 12 Sep 2005 12:27:48 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 61558-07 for ; Mon, 12 Sep 2005 15:27:42 +0000 (GMT) Received: from hotmail.com (bay14-f5.bay14.hotmail.com [64.4.49.5]) by svr1.postgresql.org (Postfix) with ESMTP id DC88BD78A3 for ; Mon, 12 Sep 2005 12:27:41 -0300 (ADT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 12 Sep 2005 08:27:40 -0700 Message-ID: Received: from 209.88.229.60 by by14fd.bay14.hotmail.msn.com with HTTP; Mon, 12 Sep 2005 15:27:40 GMT X-Originating-IP: [209.88.229.60] X-Originating-Email: [juanernestof@hotmail.com] X-Sender: juanernestof@hotmail.com In-Reply-To: <6FE0AEF8FBBD124D8CF3DD26064A096A20300B@MMDELL.mm.local> From: "JUAN ERNESTO FLORES BELTRAN" To: pgsql-php@postgresql.org Subject: Re: Connection Error[Scanned] Date: Mon, 12 Sep 2005 15:27:40 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 12 Sep 2005 15:27:40.0567 (UTC) FILETIME=[83578270:01C5B7AE] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.599 required=5 tests=[AWL=-0.151, DNS_FROM_RFC_ABUSE=0.374, DNS_FROM_RFC_POST=1.376, MSGID_FROM_MTA_HEADER=0] X-Spam-Level: * X-Archive-Number: 200509/4 X-Sequence-Number: 3244 hi everybody, i configured PHP.ini file as suggested however the received messagge has changed: PHP Warning: Unknown(): Unable to load dynamic library './php_pgsql.dll' no matter the comand on the wwwroot directory: Seems there is not library available. I must declare i uninstalled last version and installed "php-4.4.0-installer.exe" in my pc (win2000) Thanks for your support. Juan >From: "Simon Hewitt" >To: "JUAN ERNESTO FLORES BELTRAN" >, >Subject: RE: [PHP] Connection Error[Scanned] >Date: Mon, 12 Sep 2005 14:16:15 +0100 > >Hi Juan, > >Have you configured your PHP.ini file to use the Postgresql extension. >Search the php.ini file for the word extension - you'll see a of lines >like > >;extension=php_pdf.dll >extension=php_pgsql.dll >;extension=php_shmop.dll > >The ';' semicolon means that the line has been commented out and the >extension >Not loaded. Delete the semicolon and restart the apache server > >Check out the PHP docs for more information > >Simon > > >________________________________________________________________________ >__ > >Hi, > >I am trying to develop a graphical and statistical interface wiht PHP >and >Postgresql, however it seems is not possible to connect properly to the >database i have creates. Everytime i try to connect to my database i >receive >the following message at the PHP interface: > >Fatal error: Call to undefined function pg_connect() in >c:\Inetpub\wwwroot\Untitled.php on line 8 > >I installed php-5.0.5-Win32.zip and PostgreSQL8.0, them both are >installed >in my PC (win2000) wich have been configured as a server. What the >problem >could be? > >Thanks for your answers >Juan > > > >---------------------------(end of broadcast)--------------------------- >TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly