mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Multi-PHP error for servers without Apache
This commit is contained in:
parent
a3513a9187
commit
2108e0e32c
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue