How to setup PostgreSQL on WAMP server

H
  1. Ensure that PostgreSQL has been installed on your machine. The Windows installers can be downloaded from http://www.postgresql.org/download/windows/
  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

About the author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me