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
    1
    2
    
    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

Read Next

I’m running an experiment for better content recommendations. These are the 3 posts that are most likely to be interesting for you:

All content is licensed under CC BY-NC-SA 4.0. Copying is an act of love - please copy!
More cool websites: Prev | Hotline Webring | Next
Built with Hugo
Theme Stack designed by Jimmy