Skip to content

Commit e4ca9da

Browse files
committed
Enable phpfpm on default installations.
1 parent beba8e2 commit e4ca9da

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

install/hst-install-debian.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ help() {
7878
echo "Usage: $0 [OPTIONS]
7979
-a, --apache Install Apache [yes|no] default: yes
8080
-n, --nginx Install Nginx [yes|no] default: yes
81-
-w, --phpfpm Install PHP-FPM [yes|no] default: no
81+
-w, --phpfpm Install PHP-FPM [yes|no] default: yes
8282
-o, --multiphp Install Multi-PHP [yes|no] default: no
8383
-v, --vsftpd Install Vsftpd [yes|no] default: yes
8484
-j, --proftpd Install ProFTPD [yes|no] default: no
@@ -103,7 +103,7 @@ help() {
103103
-f, --force Force installation
104104
-h, --help Print this help
105105
106-
Example: bash $0 -e demo@hestiacp.com -p p4ssw0rd --apache no --phpfpm yes"
106+
Example: bash $0 -e demo@hestiacp.com -p p4ssw0rd --multiphp yes"
107107
exit 1
108108
}
109109

@@ -244,7 +244,7 @@ done
244244
# Defining default software stack
245245
set_default_value 'nginx' 'yes'
246246
set_default_value 'apache' 'yes'
247-
set_default_value 'phpfpm' 'no'
247+
set_default_value 'phpfpm' 'yes'
248248
set_default_value 'multiphp' 'no'
249249
set_default_value 'vsftpd' 'yes'
250250
set_default_value 'proftpd' 'no'
@@ -269,9 +269,6 @@ set_default_port '8083'
269269
set_default_lang 'en'
270270

271271
# Checking software conflicts
272-
if [ "$multiphp" = 'yes' ]; then
273-
phpfpm='yes'
274-
fi
275272
if [ "$proftpd" = 'yes' ]; then
276273
vsftpd='no'
277274
fi

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ help() {
7272
-f, --force Force installation
7373
-h, --help Print this help
7474
75-
Example: bash $0 -e demo@hestiacp.com -p p4ssw0rd --apache no --phpfpm yes"
75+
Example: bash $0 -e demo@hestiacp.com -p p4ssw0rd --multiphp yes"
7676
exit 1
7777
}
7878

@@ -213,7 +213,7 @@ done
213213
# Defining default software stack
214214
set_default_value 'nginx' 'yes'
215215
set_default_value 'apache' 'yes'
216-
set_default_value 'phpfpm' 'no'
216+
set_default_value 'phpfpm' 'yes'
217217
set_default_value 'multiphp' 'no'
218218
set_default_value 'vsftpd' 'yes'
219219
set_default_value 'proftpd' 'no'
@@ -238,10 +238,6 @@ set_default_port '8083'
238238
set_default_lang 'en'
239239

240240
# Checking software conflicts
241-
242-
if [ "$multiphp" = 'yes' ]; then
243-
phpfpm='yes'
244-
fi
245241
if [ "$proftpd" = 'yes' ]; then
246242
vsftpd='no'
247243
fi

0 commit comments

Comments
 (0)