Re: pgsql php problem

From: s0lao(at)netscape(dot)net (S(dot) L(dot))
To: marekza(at)yahoo(dot)com, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: pgsql php problem
Date: 2002-03-25 06:31:47
Message-ID: 4B1DC619.65F1ABC6.00013D13@netscape.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

[...]

>not PostgreSQL. I always get message:
>"Fatal error: Call to undefined function: pg_connect()
>in ..."
>
>so this means probably that apache/php is not able to
>communicate with postgresql, is that right?
>

[...]

Yes, you're right. And, again, the "Call to undefined function: " comes from the fact that php_pgsql.dll doesn't find the libpq.dll library, where the function pg_connect() is defined. So, if you say you copied the libpq.dll in your "extensions" directory, and it didn't work, then try copying it in your windows system directory. Try doing this with apache/php stopped.

SLao
--

__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop(at)Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2002-03-28 12:46:39 Re: Cygwin Postgres 7.1.3 on Windows ME
Previous Message Raveendra Yerraguntla 2002-03-24 17:39:07 Dynamic Loading of C functions.