From: JUAN ERNESTO FLORES BELTRAN <juanernestof@hotmail.com>
To: pgsql-php@postgresql.org
Subject: Re: Connection Error[Scanned]
Date: Mon, 12 Sep 2005 15:27:40 +0000
Message-ID: <BAY14-F5BC350A6DAA5E1F1A2EBBCD9D0@phx.gbl> (raw)
In-Reply-To: <6FE0AEF8FBBD124D8CF3DD26064A096A20300B@MMDELL.mm.local>
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:
<?php
?>
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" <Simon.Hewitt@mailmatters.co.uk>
>To: "JUAN ERNESTO FLORES BELTRAN"
><juanernestof@hotmail.com>,<pgsql-php-owner@postgresql.org>
>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
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: juanernestof@hotmail.com
Subject: Re: Connection Error[Scanned]
In-Reply-To: <BAY14-F5BC350A6DAA5E1F1A2EBBCD9D0@phx.gbl>
References: <6FE0AEF8FBBD124D8CF3DD26064A096A20300B@MMDELL.mm.local> <BAY14-F5BC350A6DAA5E1F1A2EBBCD9D0@phx.gbl>
* 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