User Tools

Site Tools


1.) Install phppgadmin

  git clone git:// phppgadmin    

2.) Create apache configuration file

  nano /etc/apache2/conf-available/phppgadmin.conf
  Alias /phppgadmin /usr/share/phppgadmin/
  <Directory /usr/share/phppgadmin/>
  DirectoryIndex index.php
  Options +FollowSymLinks
  AllowOverride None
  order deny,allow
  deny from all
  allow from ::1/128
  allow from all
  <IfModule mod_php5.c>
  php_flag magic_quotes_gpc Off
  php_flag track_vars On
  php_value include_path .

3.) Copy and edit phppgadmin configuration file

  cp phppgadmin/conf/ phppgadmin/conf/
  nano phppgadmin/conf/
  $conf['servers'][0]['host'] = '';
  $conf['extra_login_security'] = false;

4.) Restart postgresql and apache

phppgadmin_debian.txt · Last modified: 2016/11/14 14:12 by sweitmann