Skip to content

Commit 24ab7aa

Browse files
Added mssql php extensions for using mssql as backend.
1 parent 8b62ea9 commit 24ab7aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

moodle/centos7/install.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ PHP5="${PHP_REMI_VERSION}-php-opcache ${PHP_REMI_VERSION}-php-pecl-memcache ${PH
1919
PHP6="${PHP_REMI_VERSION}-php-intl ${PHP_REMI_VERSION}-php-mbstring ${PHP_REMI_VERSION}-php-pecl-solr2"
2020
PHP7="${PHP_REMI_VERSION}-php-pecl-zip ${PHP_REMI_VERSION}-php-soap"
2121

22-
PHP_MSSQL_PACKAGES="freetds mssql-tools"
22+
PHP_MSSQL_PACKAGES="mssql-tools ${PHP_REMI_VERSION}-php-sqlsrv"
23+
PHP_ORACLE_PACKAGES=""
2324

2425
PHP_PACKAGES="${PHP1} ${PHP2} ${PHP3} ${PHP4} ${PHP5} ${PHP6} ${PHP7} ${PHP_MSSQL_PACKAGES}";
2526
INSTALL_PKGS="${INSTALL_PKGS2} ${PHP_PACKAGES}";
@@ -47,7 +48,7 @@ yum -y install epel-release && yum -y install ${REMI_REPO} && yum -y install --s
4748
# Install moodle
4849
pushd /var/www;
4950
wget ${MOODLE_DOWNLOAD_URL} && tar zxvf ${MOODLE_TAR} && mv /var/www/${MOODLE}/* /var/www/html;
50-
mkdir -p /var/moodledata && rm -rf ${MOODLE_TAR}
51+
mkdir -p /var/moodledata && rm -rf ${MOODLE_TAR};
5152
popd;
5253

5354
# Fixup Configurations

0 commit comments

Comments
 (0)