PHP 5.2.8 is refusing to load php_pgsql.dll, with the following error:
php_pgsql.dll
Warning: PHP Startup: Unable to load dynamic library \'D:\\PHP\\ext\\
You need to copy libpq.dll from wamp\bin\php\php5.3.5 to wamp\bin\apache\Apache2.2.17\bin. Again restart the Wamp Server. By now we are done with the php configuration. Next we will install phpPgAdmin and use it.