Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
typo3
CI
testing-infrastructure
Commits
3ff20316
Commit
3ff20316
authored
Jul 20, 2018
by
Christian Kuhn
Browse files
[TASK] Enable mssql driver again in php 7.2 build
parent
5ebdd9d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
3ff20316
...
...
@@ -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)
...
...
php72/enable_repos.sh
View file @
3ff20316
...
...
@@ -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
php72/php.sh
View file @
3ff20316
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment