How to setup PostgreSQL on WAMP server

  1. Ensure that PostgreSQL has been installed on your machine. The Windows installers can be downloaded from
  2. Assuming WAMP Server is installed on c:\wamp, copy C:\wamp\bin\php\php5.4.3\libpq.dll to C:\wamp\bin\apache\apache2.4.2\bin\libpq.dll
  3. Also see that the following files exist
    • C:\wamp\bin\php\php5.4.3\ext\php_pgsql.dll
    • C:\wamp\bin\php\php5.4.3\ext\php_pdo_pgsql.dll
  4. The above two files are PHP extensions and should be enabled using the WAMP menu or the php.ini file

Image Credits: Photo by Isis França on Unsplash.

More Similar Posts

No results found.