User Tools

Site Tools


phppgadmin_debian

This is an old revision of the document!


1.) Install phppgadmin

  git clone git://github.com/phppgadmin/phppgadmin.git    
  

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 127.0.0.0/255.0.0.0 ::1/128
  allow from all
  <IfModule mod_php5.c>
  php_flag magic_quotes_gpc Off
  php_flag track_vars On
  php_value include_path .
  </IfModule>
  </Directory>
  

3.) Copy and edit phpPgAdmin configuration file

  cp phppgadmin/conf/config.inc.php-dist phppgadmin/conf/config.inc.php
  
  nano phppgadmin/conf/config.inc.php
  
  $conf['extra_login_security'] = false; 
  

4.) Restart postgresql and apache

phppgadmin_debian.1464534188.txt.gz · Last modified: 2016/05/29 15:03 by sweitmann