Multi-PHP error for servers without Apache

This commit is contained in:
myvesta 2020-06-26 13:23:22 +02:00 committed by GitHub
commit 2108e0e32c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,12 @@ inst_74=0
#######################################################################
check_grep=$(grep -c "WEB_SYSTEM='nginx'" /usr/local/vesta/conf/vesta.conf)
if [ "$check_grep" -eq 1 ]; then
echo "Multi-PHP support is only for myVesta that is installed in nginx+Apache or Apache variant"
exit 1
fi
inst_repo=0
debian_version=$(cat /etc/debian_version | tr "." "\n" | head -n1)