How to install Drupal with PostgreSQL on Windows 7

So you want to see this?

Drupal database type





No problem, just follow my instructions:

  1. Download the latest version of Drupal and extract into c:\dev\drupal
  2. Download and install Postgres
  3. Download EasyPHP and install in c:\dev
  4. Once installed, double click on EasyPHP task menu icon and stop Apache and MySQL
  5. Add the following to your PATH environment variable: C:\Program Files\PostgreSQL\9.4\lib; (or change the path if thats not where you installed Postgres)
  6. Edit your php.ini file (found here: C:\dev\EasyPHP-DevServer-14.1VC9\binaries\php\php_runningversion) and remove the semicolon prededing “extension=php_pdo_pgsql.dll” and “extension=php_pgsql.dll”
  7. Double click on EasyPHP task menu icon and start Apache
  8. Right-click on EasyPHP task menu icon and choose Administer
  9. On the Admin screen, in the Local Files section, add a new alias (name: your-site, path: C:\dev\drupal\drupal-7.38 <- from step 1)
  10. Visit and follow the Drupal setup wizard
  11. Install standard version of Drupal, on database setup screen you will now have the option to choose “PostgreSQL”
  12. From your Start Menu, find PostgreSQL and open “pgAdmin” tool
  13. Right click and choose Connect
  14. Get the database name (postgres), hostname (localhost), port number (5432) and username (postgres) and password (set this yourself)
  15. Enter the details and you’re all set.


Did you find this post useful?

Tip me some bitcoin: