update_nextcloud.sh: determin PHP_VERSION if not given.

This commit is contained in:
2019-11-16 03:52:41 +01:00
parent 7eeab15a4b
commit ab407905df
2 changed files with 95 additions and 31 deletions

View File

@ -43,6 +43,19 @@ WEBSITE="<site-name-of-cloud-instance>"
#HTTP_GROUP=
# - VHOST_CONFIG_FILE
# -
# - Vhost configuration file
# -
# - The script will determin the vhost configuration file by trying
# - the following pathes:
# - - /usr/local/apache2/conf/vhosts/${WEBSITE}.conf.php-fpm
# - - /usr/local/apache2/conf/vhosts/${WEBSITE}.conf
# - - /etc/apache2/sites-enabled/${WEBSITE}.conf
# -
#VHOST_CONFIG_FILE=""
# - Web base directory
# -
# - the directory where the documentroot lives
@ -61,13 +74,15 @@ WEBSITE="<site-name-of-cloud-instance>"
# - PHP main version
# -
# - only needed, if PHP_ENGINE ist set to 'FPM'
# -
# - The script tries to determin the PHP version (in case of PHP_ENGINE=FPM)
# -
# - Examples:
# - PHP_VERSION=5.6
# - PHP_VERSION=7.1
# -
# - only needed, if PHP_ENGINE ist set to 'FPM'
# -
PHP_VERSION=
#PHP_VERSION=
# - Database type
# -