Skip to content

Commit 6444f28

Browse files
committed
Updating to sqlsrv5.7.9preview, first one working with php74rc1 and up
1 parent b23c4e5 commit 6444f28

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

root/tmp/setup/php-extensions.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,7 @@ echo 'apc.enable_cli = On' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini
8484
# Install Microsoft dependencies for sqlsrv.
8585
# (kept apart for clarity, still need to be run here
8686
# before some build packages are deleted)
87-
# NOTE: As of 20190727 5.6.1 does not build with php7.4beta1, so commented out.
88-
# NOTE: As of 20190827 5.6.1 does not build with php7.4beta4, so commented out.
89-
# The underlying issue has been fixed but there isn't any > 5.6.1 release including it.
90-
# Link: https://github.com/microsoft/msphpsql/issues/999
91-
# /tmp/setup/sqlsrv-extension.sh
87+
/tmp/setup/sqlsrv-extension.sh
9288

9389
# Keep our image size down..
9490
pecl clear-cache

root/tmp/setup/sqlsrv-extension.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ ACCEPT_EULA=Y apt-get install -y msodbcsql17
1515

1616
ln -fsv /opt/mssql-tools/bin/* /usr/bin
1717

18-
# Need 5.5.0preview (or later) for PHP 7.3 support
19-
pecl install sqlsrv-5.6.1
18+
# Need 5.7.0preview (or later) for PHP 7.4 support
19+
pecl install sqlsrv-5.7.0preview
2020
docker-php-ext-enable sqlsrv

0 commit comments

Comments
 (0)