php from windowsXP box

Lists: pgsql-general
From: Angshu Kar <angshu96(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: php from windowsXP box
Date: 2005-12-08 02:05:22
Message-ID: df8328740512071805g9b76623la2920345813c3151@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Hi,

I've the following scenario:

1. I've my web server on a windows xp machine - IIS
2. I've my database server on a linux machine - postgresql
3. I'm using php on the windows machine to connect to my db

I'm failing to connect to my db. What is the solution?
Are there any DSO kind of stuff to support this scenario in winXP?

I'll be obliged if you help.

Thanks,
Angshu


From: John DeSoi <desoi(at)pgedit(dot)com>
To: Angshu Kar <angshu96(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: php from windowsXP box
Date: 2005-12-08 04:21:48
Message-ID: 21B70A5B-7FC7-4259-8210-9BBA3759D70B@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general


On Dec 7, 2005, at 9:05 PM, Angshu Kar wrote:

> 3. I'm using php on the windows machine to connect to my db
>
> I'm failing to connect to my db. What is the solution?

Have you looked at the documentation on setting up the pg_hba.conf file?

http://www.postgresql.org/docs/8.1/interactive/client-
authentication.html#AUTH-PG-HBA-CONF

Provide the connect error you are getting from PHP if you need more
help.

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL