Lähde:subhra.me
Ohjelma asentuu, asetukset:
Installation Directory: C:\xampp\pgsql Server Installation Directory: C:\xampp\pgsql Data Directory: C:\xampp\pgsql\data Database Port: 5432 Database Superuser: postgres Operating System Account: NT AUTHORITY\NetworkService Database Service: postgresql-x64-11 Command Line Tools Installation Directory: C:\xampp\pgsql pgAdmin4 Installation Directory: C:\xampp\pgsql\pgAdmin 4 Stack Builder Installation Directory: C:\xampp\pgsql
extension=pdo_pgsql extension=pgsql
kloonaa ohjelma repositoriosta (tai lataa zippinä):
$conf['servers'][0]['host'] = 'localhost'; $conf['servers'][0]['pg_dump_path'] = 'C:\\xampp\\pgsql\\bin\\pg_dump.exe'; $conf['servers'][0]['pg_dumpall_path'] = 'C:\\xampp\\pgsql\\bin\\pg_dumpall.exe'; $conf['extra_login_security'] = false;
Lisää tiedostoon seuraan rivit (tai ota kommentti pois)
Alias /phppgadmin "C:/xampp/phppgadmin/"AllowOverride AuthConfig Require all granted Alias /phppgadmin "C:/xampp/phppgadmin/"
Käynnistä Apache uudelleen - phpPgAdmin tulisi nyt käynnistyä osoitteesta http://localhost/phppgadmin
käyttäjätunnus on postgres ja salasana on asennusvaiheessa antamasi salasana.