Install Postgres into XAMPP on Windows

#Setting up a local Postgres development environment

#1. Install Postgres

  1. Download the installer from EnterpriseDB
  2. Run the installer
  3. Install Postgres into C:\xampp\pgsql{version_number} folder

#2. Enable PostGres modules for PHP

  1. Open php.ini file located in C:\xampp\php.
  2. Uncomment the following lines in php.ini
    extension=php_pdo_pgsql.dll
    extension=php_pgsql.dll

#3. Install Adminer

  1. Download Adminer
  2. Place the PHP file into HTDOCS

#4. Wrapping up

  1. Restart Apache
  2. Adminer is now accessible here

This work is licensed under CC BY-NC-SA 4.0. Copying is an act of love — please copy!