User Tools

Site Tools


phppgadmin_debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
phppgadmin_debian [2016/05/29 12:01] – created sweitmannphppgadmin_debian [2016/05/29 15:03] sweitmann
Line 1: Line 1:
-1.) Install phpPgAdmin+1.) Install phppgadmin
  
-    apt-get install phppgadmin+    git clone git://github.com/phppgadmin/phppgadmin.git    
          
-2.) Edit Apache configuration file+2.) Create apache configuration file
  
     nano /etc/apache2/conf-available/phppgadmin.conf     nano /etc/apache2/conf-available/phppgadmin.conf
          
-    #Require local+    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.) Edit phpPgAdmin configuration file+3.) Copy and edit phpPgAdmin configuration file
  
-    nano /usr/share/phppgadmin/conf/config.inc.php+    cp phppgadmin/conf/config.inc.php-dist phppgadmin/conf/config.inc.php 
 +     
 +    nano phppgadmin/conf/config.inc.php
          
     $conf['extra_login_security'] = false;      $conf['extra_login_security'] = false; 
 +    
 +4.) Restart postgresql and apache
phppgadmin_debian.txt · Last modified: 2016/11/14 14:12 by sweitmann