Skip to content

Commit 2c1a0e9

Browse files
committed
Add check if apache2 = no php-fpm is installed
hestiacp#2028 Add locale en_US.utf8 by default to prevent issues hestiacp#2029
1 parent f131010 commit 2c1a0e9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

install/hst-install-debian.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,9 @@ fi
285285
if [ "$iptables" = 'no' ]; then
286286
fail2ban='no'
287287
fi
288+
if [ "$apache" = "no" ]; then
289+
phpfpm='yes'
290+
fi
288291

289292
# Checking root permissions
290293
if [ "x$(id -u)" != 'x0' ]; then
@@ -1232,6 +1235,7 @@ $HESTIA/bin/v-change-user-role admin admin
12321235
$HESTIA/bin/v-change-user-language admin $lang
12331236
$HESTIA/bin/v-change-sys-config-value 'POLICY_SYSTEM_PROTECTED_ADMIN' 'yes'
12341237

1238+
locale-gen "en_US.utf8" > /dev/null 2>&1
12351239
#----------------------------------------------------------#
12361240
# Configure Nginx #
12371241
#----------------------------------------------------------#

install/hst-install-ubuntu.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ fi
266266
if [ "$iptables" = 'no' ]; then
267267
fail2ban='no'
268268
fi
269+
if [ "$apache" = "no" ]; then
270+
phpfpm='yes'
271+
fi
269272

270273
# Checking root permissions
271274
if [ "x$(id -u)" != 'x0' ]; then
@@ -1271,6 +1274,7 @@ $HESTIA/bin/v-change-user-role admin admin
12711274
$HESTIA/bin/v-change-user-language admin $lang
12721275
$HESTIA/bin/v-change-sys-config-value 'POLICY_SYSTEM_PROTECTED_ADMIN' 'yes'
12731276

1277+
locale-gen "en_US.utf8" > /dev/null 2>&1
12741278

12751279
#----------------------------------------------------------#
12761280
# Configure Nginx #

0 commit comments

Comments
 (0)