This is because your php.ini is not loading the postgres database
driver. Just find your php.ini, and change the line that says:
;extension=php_pgsql.dll
to:
extension=php_pgsql.dll
(Remove the semicolon and you're golden)
After doing this you will need to restart/reload apache for the config
changes to take effect.
-- Mitch