php from windowsXP box

Started by Angshu Karover 20 years ago2 messagesgeneral
Jump to latest
#1Angshu Kar
angshu96@gmail.com

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

#2John DeSoi
desoi@pgedit.com
In reply to: Angshu Kar (#1)
Re: php from windowsXP box

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