@@ -36,7 +36,7 @@ php_fpm="/etc/init.d/php$version-fpm"
3636# Verify php version format
3737if [[ ! $version =~ ^[0-9]\. [0-9]+ ]]; then
3838 echo " The specified PHP version format is invalid, it should look like [0-9].[0-9]."
39- echo " Example: 7.0, 7.4, 8.0"
39+ echo " Example: 7.0, 7.4, 8.0"
4040 exit " $E_INVALID " ;
4141fi
4242
@@ -62,9 +62,8 @@ check_hestia_demo_mode
6262
6363mph=" php$version -common php$version -mbstring php$version -bcmath php$version -cli php$version -curl
6464 php$version -fpm php$version -gd php$version -intl php$version -mysql
65- php$version -soap php$version -xml php$version -zip php$version -mbstring
66- php$version -json php$version -bz2 php$version -pspell php$version -imagick php$version -pgsql
67- php$version -imap php$version -ldap"
65+ php$version -soap php$version -xml php$version -zip php$version -json php$version -bz2
66+ php$version -pspell php$version -imagick php$version -pgsql php$version -imap php$version -ldap"
6867
6968# Check is version is 7.1 or below to add mcrypt
7069if [[ ` echo " $version 7.2" | awk ' {print ($1 < $2)}' ` == 1 ]]; then
101100# Do a blank echo to get the \n back
102101echo
103102
104- # Check if installation was sucessfully
103+ # Check if installation was successful
105104if [ ! -f " $php_fpm " ]; then
106105 echo " ERROR: Installation failed, please run the following command manually for debugging:"
107106 echo " apt-get install $mph "
0 commit comments