Thread: php from windowsXP box

php from windowsXP box

From
Angshu Kar
Date:
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
 

Re: php from windowsXP box

From
John DeSoi
Date:
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