diff --git a/scripts/install_moodle.sh b/scripts/install_moodle.sh index 2ea1103..b2087ed 100644 --- a/scripts/install_moodle.sh +++ b/scripts/install_moodle.sh @@ -199,7 +199,7 @@ if [ $dbServerType = "mysql" ]; then sudo apt-get install -y --force-yes php-mysql elif [ $dbServerType = "mssql" ]; then - install_php_sql_driver + install_php_mssql_driver else sudo apt-get install -y --force-yes php-pgsql fi diff --git a/scripts/setup_webserver.sh b/scripts/setup_webserver.sh index 7e6e908..f9fc07d 100644 --- a/scripts/setup_webserver.sh +++ b/scripts/setup_webserver.sh @@ -85,7 +85,9 @@ check_fileServerType_param $fileServerType # Moodle requirements sudo apt-get install -y graphviz aspell php-soap php-json php-redis php-bcmath php-gd php-pgsql php-mysql php-xmlrpc php-intl php-xml php-bz2 - install_php_sql_driver + if [ "$dbServerType" = "mssql" ]; then + install_php_mssql_driver + fi # PHP Version PhpVer=$(get_php_version)