Don't install PHP MSSQL driver when not needed (incomplete)
This commit is contained in:
Родитель
79e7e96b48
Коммит
997e1b327e
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче