PHP5, Apache2 and Postgres under Windows XP
Moderator: General Moderators
-
gregambrose
- Forum Newbie
- Posts: 12
- Joined: Thu Aug 07, 2003 11:01 pm
- Location: Sydney, Australia
PHP5, Apache2 and Postgres under Windows XP
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?
- The Phoenix
- Forum Contributor
- Posts: 294
- Joined: Fri Oct 06, 2006 8:12 pm
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.
Uncomment php_pgsql.dll in the php.ini, restart, start postgresql, and you should be golden.