Browse Source

Merge branch 'main' into staging/1.6.3

Jaap Marcus 3 years ago
parent
commit
207a482497
2 changed files with 8 additions and 0 deletions
  1. 4 0
      bin/v-add-web-php
  2. 4 0
      bin/v-delete-web-php

+ 4 - 0
bin/v-add-web-php

@@ -27,6 +27,10 @@ source_conf "$HESTIA/conf/hestia.conf"
 
 check_args '1' "$#" 'VERSION'
 
+if [ -z "$WEB_BACKEND" ]; then
+    echo "Multiple php versions are not supported for modphp"
+fi
+
 # Set file locations
 php_fpm="/etc/init.d/php$version-fpm"
 

+ 4 - 0
bin/v-delete-web-php

@@ -28,6 +28,10 @@ source_conf "$HESTIA/conf/hestia.conf"
 
 check_args '1' "$#" 'VERSION'
 
+if [ -z "$WEB_BACKEND" ]; then
+    echo "Multiple php versions are not supported for modphp"
+fi
+
 # Set file locations
 php_fpm="/etc/init.d/php$version-fpm"