Skip to content

Commit 9b8611d

Browse files
committed
Fix hestiacp#1984 phppgadmin not working on apache2 systems
1 parent 99b76fd commit 9b8611d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

install/deb/pga/phppgadmin.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ allow from all
1515
php_flag track_vars On
1616
php_value include_path .
1717
</IfModule>
18+
<IfModule mpm_event_module>
19+
# Use www.conf instead
20+
<FilesMatch \.php$>
21+
SetHandler "proxy:fcgi://127.0.0.1:9000"
22+
</FilesMatch>
23+
</IfModule>
1824
<IfModule !mod_php5.c>
1925
<IfModule mod_actions.c>
2026
<IfModule mod_cgi.c>

install/upgrade/versions/1.4.7.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@
66
####### Place additional commands below. #######
77
#######################################################################################
88

9+
if [ ! -z "$DB_PGA_ALIAS" ]; then
10+
$HESTIA/bin/v-change-sys-db-alias 'pga' $DB_PGA_ALIAS
11+
fi

0 commit comments

Comments
 (0)