1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

sqlsrv/pdo_sqlsrv: fix PHP < 7.1, add support for PHP 7.3

This commit is contained in:
Michele Locati 2019-10-07 18:27:02 +02:00
parent 4ace356692
commit e19c22c189
No known key found for this signature in database
GPG key ID: 98B7CE2E7234E28B
2 changed files with 8 additions and 2 deletions

View file

@ -439,6 +439,12 @@ installPECLModule () {
installPECLModule_actual="${2}-0.9.0"
fi
;;
pdo_sqlsrv | sqlsrv)
# https://docs.microsoft.com/it-it/sql/connect/php/system-requirements-for-the-php-sql-driver?view=sql-server-2017
if test $1 -le 700; then
installPECLModule_actual="${2}-5.3.0"
fi
;;
pthreads)
if test $1 -lt 700; then
installPECLModule_actual="${2}-2.0.10"