瀏覽代碼

Fix #1984 phppgadmin not working on apache2 systems

Jaap Marcus 4 年之前
父節點
當前提交
9b8611d7d4
共有 2 個文件被更改,包括 9 次插入0 次删除
  1. 6 0
      install/deb/pga/phppgadmin.conf
  2. 3 0
      install/upgrade/versions/1.4.7.sh

+ 6 - 0
install/deb/pga/phppgadmin.conf

@@ -15,6 +15,12 @@ allow from all
   php_flag track_vars On
   php_flag track_vars On
   php_value include_path .
   php_value include_path .
 </IfModule>
 </IfModule>
+<IfModule mpm_event_module> 
+ # Use www.conf instead 
+ <FilesMatch \.php$> 
+     SetHandler "proxy:fcgi://127.0.0.1:9000" 
+ </FilesMatch> 
+</IfModule> 
 <IfModule !mod_php5.c>
 <IfModule !mod_php5.c>
   <IfModule mod_actions.c>
   <IfModule mod_actions.c>
     <IfModule mod_cgi.c>
     <IfModule mod_cgi.c>

+ 3 - 0
install/upgrade/versions/1.4.7.sh

@@ -6,3 +6,6 @@
 #######                      Place additional commands below.                   #######
 #######                      Place additional commands below.                   #######
 #######################################################################################
 #######################################################################################
 
 
+if [ ! -z "$DB_PGA_ALIAS" ]; then 
+    $HESTIA/bin/v-change-sys-db-alias 'pga' $DB_PGA_ALIAS
+fi