Page 1 of 1

PHP5, Apache2 and Postgres under Windows XP

Posted: Sat Jul 21, 2007 5:47 pm
by gregambrose
My development pc and laptop run PHP5 Apache2 and MySQL without problem. I've been asked to do some work with Postgresql but can't find any way of getting PHP5 and Postgresql to work under Windows. Does anyone know how to do this?

Posted: Sat Jul 21, 2007 6:10 pm
by The Phoenix
Get postgresql for windows, then get the php zip install for windows. Inside that zip, you'll find php_pgsql.dll , which needs to go in the extensions directory.

Uncomment php_pgsql.dll in the php.ini, restart, start postgresql, and you should be golden.