Commit 3ff20316 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Enable mssql driver again in php 7.2 build

parent 5ebdd9d8
......@@ -51,7 +51,7 @@ SHORTVERSION_PHP71=$(MAJOR_PHP71).$(MINOR_PHP71)
NAME_PHP72 = typo3gmbh/php72
MAJOR_PHP72=3
MINOR_PHP72=0
PATCHLEVEL_PHP72=3
PATCHLEVEL_PHP72=4
FULLVERSION_PHP72=$(MAJOR_PHP72).$(MINOR_PHP72).$(PATCHLEVEL_PHP72)
SHORTVERSION_PHP72=$(MAJOR_PHP72).$(MINOR_PHP72)
......
......@@ -13,5 +13,8 @@ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys \
E5267A6C \
#
# for msodbcsql17 mssql-tools sqlserv
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
apt-get update
apt-get -y dist-upgrade
......@@ -63,9 +63,16 @@ echo "apc.enable_cli=1" >> /etc/php/7.2/mods-available/apcu.ini
echo "apc.slam_defense=0" >> /etc/php/7.2/mods-available/apcu.ini
# mssql driver
#pecl install sqlsrv
#echo extension=sqlsrv.so >> /etc/php/7.2/mods-available/sqlsrv.ini
#phpenmod sqlsrv
ACCEPT_EULA=Y minimal_apt_get_install \
msodbcsql17 \
mssql-tools \
unixodbc-dev \
#
pecl install sqlsrv
echo extension=sqlsrv.so >> /etc/php/7.2/mods-available/sqlsrv.ini
echo extension=pdo_sqlsrv.so >> /etc/php/7.2/mods-available/pdo_sqlsrv.ini
phpenmod sqlsrv
phpenmod pdo_sqlsrv
# Prepare an additional php.ini file that does *NOT* include xdebug
# can be used with: php -n -c /etc/php/cli-no-xdebug/php.ini
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment