In addition to error messages, what is your setup? What versions of PHP, Postgres and Web (Apache?) are you using? The configurations are different depending upon what you have installed. Also you should check the PHP manual: http://us3.php.net/manual/en/function.pg-connect.php. Cameron G. Moller Michael Glaesemann <grzm@xxxxxxxxxxx To om> Dave Wayne <davewayne@xxxxxxx> Sent by: cc pgsql-php-owner@p pgsql-php@xxxxxxxxxxxxxx ostgresql.org Subject Re: postgres/php and windows 11/20/2005 06:25 PM On Nov 21, 2005, at 7:04 , Dave Wayne wrote: > Does anyone know if there is a good guide for setting up php to > connect to postgres under windows? I've set up postgres, however > the PConnect function fails for some reason. What's the reason? What error message are you getting? One thing to check is to make sure PHP was compiled with pgsql support. Provide more details and hopefully someone will be able to provide better help. Good luck! Michael Glaesemann grzm myrealbox com ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match