File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ php_fpm="/etc/init.d/php$version-fpm"
2828
2929# Verify php version format
3030if [[ ! $version =~ ^[0-9]\. [0-9]+ ]]; then
31- echo " The php version format is invalid, it should look like [0-9].[0-9]..."
31+ echo " The PHP version format is invalid, it should look like [0-9].[0-9]."
32+ echo " Example: 7.0, 7.4"
3233 exit
3334fi
3435
3738
3839# Check if php version exists
3940if [ ! -f " $php_fpm " ] && [ ! -f " $HESTIA /data/templates/$WEB_SYSTEM /PHP-$version .sh" ]; then
40- echo " Version is not installed.. ."
41+ echo " ERROR: Specified PHP version is not installed."
4142 exit
4243fi
4344
7778
7879# Check if installation was sucessfully
7980if [ -f " $php_fpm " ]; then
80- echo " Uninstallation failed, please run the following command manualy for debuging :"
81+ echo " ERROR: Uninstallation failed, please run the following command manually for debugging :"
8182 echo " apt-get purge $mph "
8283fi
8384
You can’t perform that action at this time.
0 commit comments