Skip to content

Commit 227858c

Browse files
committed
Use php7.4 instead 7.3 as default
1 parent a331088 commit 227858c

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
1313
- Add support Proftpd TLS Support
1414
- Add the possibility to assign user "Administrators" rights on login. Replaces "root" login. Notifications are only send towards the "admin" account email
1515
- Updated translations system with the use of Gettext. Modified / Updated all translated strings
16+
- Use php7.4 as default
1617

1718
## Bugfixes
1819
- Removed root login (root / root password )

bin/v-add-sys-filemanager

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ if [ ! -f "$COMPOSER_BIN" ]; then
5252
fi
5353
fi
5454

55-
# Ensure PHP 7.3 is installed before continuing
56-
if [ ! -f "/usr/bin/php7.3" ]; then
57-
$BIN/v-add-user-notification admin 'File Manager installation failed!' '<b>Unable to proceed with installation of File Manager.</b><br><br>Package <b>php7.3-cli</b> is missing from your system. Please check your PHP installation and environment settings.'
58-
echo "ERROR: PHP 7.3 not installed on your system, aborting."
59-
exit 1
60-
fi
61-
6255
# Perform verification if read-only mode is enabled
6356
check_hestia_demo_mode
6457

@@ -81,7 +74,7 @@ cp --recursive --force ${HESTIA_INSTALL_DIR}/filemanager/filegator/* "${FM_INSTA
8174

8275
chown $user: -R "${FM_INSTALL_DIR}"
8376

84-
COMPOSER_HOME="$HOMEDIR/$user/.config/composer" user_exec /usr/bin/php7.3 $COMPOSER_BIN --quiet --no-dev install
77+
COMPOSER_HOME="$HOMEDIR/$user/.config/composer" user_exec /usr/bin/php $COMPOSER_BIN --quiet --no-dev install
8578

8679
# Check if installation was successful, if not abort script and throw error message notification and clean-up
8780
if [ $? -ne 0 ]; then

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ VERBOSE='no'
2626
HESTIA_INSTALL_VER='1.3.0~beta'
2727
pma_v='5.0.2'
2828
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4")
29-
fpm_v="7.3"
29+
fpm_v="7.4"
3030
mariadb_v="10.4"
3131

3232
if [ "$release" -eq 9 ]; then

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ VERBOSE='no'
2626
HESTIA_INSTALL_VER='1.3.0~beta'
2727
pma_v='5.0.2'
2828
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4")
29-
fpm_v="7.3"
29+
fpm_v="7.4"
3030
mariadb_v="10.4"
3131

3232
# Defining software pack for all distros

0 commit comments

Comments
 (0)