Skip to content

Commit 1e2b5fd

Browse files
committed
Install php version according to fpm_v for deb10, use mpm_itk instead...
... of ruid2 for deb10, commit fixes hestiacp#615. Special thanks to @FalzoMAD!
1 parent d69add3 commit 1e2b5fd

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

install/hst-install-debian.sh

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,20 @@ elif [ "$release" -eq 9 ]; then
5757
unrar-free vim-common acl sysstat rsyslog setpriv"
5858
elif [ "$release" -eq 10 ]; then
5959
software="nginx apache2 apache2-utils apache2-suexec-custom
60-
apache2-suexec-pristine libapache2-mod-fcgid libapache2-mod-php php
61-
php-common php-cgi php-mysql php-curl php-pgsql php-imap php-ldap php-apcu
62-
php-imagick awstats vsftpd proftpd-basic bind9 exim4 exim4-daemon-heavy
63-
clamav-daemon spamassassin dovecot-imapd dovecot-pop3d roundcube-core net-tools
64-
roundcube-mysql roundcube-plugins mariadb-client mariadb-common
60+
apache2-suexec-pristine libapache2-mod-fcgid libapache2-mpm-itk
61+
libapache2-mod-php$fpm_v php$fpm_v php$fpm_v-common php$fpm_v-cgi
62+
php$fpm_v-mysql php$fpm_v-curl php$fpm_v-pgsql php$fpm_v-imagick
63+
php$fpm_v-imap php$fpm_v-ldap php$fpm_v-apcu awstats php$fpm_v-zip
64+
php$fpm_v-bz2 php$fpm_v-cli php$fpm_v-gd php$fpm_v-intl php$fpm_v-json
65+
php$fpm_v-mbstring php$fpm_v-opcache php$fpm_v-pspell php$fpm_v-readline
66+
php$fpm_v-xml awstats vsftpd proftpd-basic bind9 exim4 exim4-daemon-heavy
67+
clamav-daemon spamassassin dovecot-imapd dovecot-pop3d roundcube-core
68+
net-tools roundcube-mysql roundcube-plugins mariadb-client mariadb-common
6569
mariadb-server postgresql postgresql-contrib phpmyadmin phppgadmin mc
66-
flex whois git idn zip sudo bc ftp lsof ntpdate rrdtool quota
67-
e2fslibs bsdutils e2fsprogs curl imagemagick fail2ban dnsutils
68-
bsdmainutils cron hestia hestia-nginx hestia-php expect libmail-dkim-perl
69-
unrar-free vim-common acl sysstat rsyslog util-linux"
70+
flex whois git idn zip sudo bc ftp lsof ntpdate rrdtool quota e2fslibs
71+
bsdutils e2fsprogs curl imagemagick fail2ban dnsutils bsdmainutils cron
72+
hestia hestia-nginx hestia-php expect libmail-dkim-perl unrar-free
73+
vim-common acl sysstat rsyslog util-linux"
7074
fi
7175

7276
# Defining help function
@@ -1153,7 +1157,11 @@ if [ "$apache" = 'yes' ]; then
11531157
a2enmod suexec > /dev/null 2>&1
11541158
a2enmod ssl > /dev/null 2>&1
11551159
a2enmod actions > /dev/null 2>&1
1156-
a2enmod ruid2 > /dev/null 2>&1
1160+
if [ "$release" -eq 10 ]; then
1161+
a2enmod mpm_itk > /dev/null 2>&1
1162+
else
1163+
a2enmod ruid2 > /dev/null 2>&1
1164+
fi
11571165
mkdir -p /etc/apache2/conf.d
11581166
mkdir -p /etc/apache2/conf.d/domains
11591167
echo "# Powered by hestia" > /etc/apache2/sites-available/default

0 commit comments

Comments
 (0)