PHP 5.2.8 is refusing to load php_pgsql.dll, with the following error:
Warning: PHP Startup: Unable to load dynamic library \'D:\\PHP\\ext\\
For those willing to make their PHP install only capable to access PostGres servers, without actually installing PostGres, you need to:
These 3 DLLs can be found in the PostGres install. I just copied them into apache\bin, that way I keep everything self contained. Doing that, apache can start the PHP engine just fine, with PostGres support.