pgsql php problem

From: <marekza(at)yahoo(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: pgsql php problem
Date: 2002-03-21 07:34:05
Message-ID: 20020321073405.58975.qmail@web13602.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Question: PostgreSQL (Cygwin) with PHP on Windows 98

Please help me! My computer is not connected to
network (it uses TCP/IP
protocol under Windows OS).

I need to use PostgreSQL with PHP.

I did the following steps:
1. install Apache server (c:\apache)
2. install PHP 4.0 (c:\php)

and install MySQL win32.exe application to work with
PHP.

I dont know this with PostgreSQL! Because PostgreSQL
needs Cygwin (am i right?), so i installed Cygwin (cca
40 MB - not full installation) with packages like
ash,bash,cygwin,..,gzip,sh-utils, .. and postgresql7.2
for cygwin.

MySQL runs perfectly with PHP in my web browser, but
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?

To configure mysql i needed to edit my.ini file and
php.ini file, but with postgresql i dont know what to
exactly configure. I allowed php_pgsql.dll extension
(and copy this dll into extension directory) and
libpq.dll, but nothing changed.

please help me ...
marek

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards
http://movies.yahoo.com/

Browse pgsql-cygwin by date

  From Date Subject
Next Message Raveendra Yerraguntla 2002-03-24 17:39:07 Dynamic Loading of C functions.
Previous Message Padma Sundar Narayanan 2002-03-20 23:40:14 Re: passing variable across function invokations