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

pull/33/head
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

@ -30,7 +30,7 @@ pdo_firebird 5.6 7.0 7.1 7.2 7.3
pdo_mysql 5.6 7.0 7.1 7.2 7.3
pdo_odbc 5.6 7.0 7.1 7.2 7.3
pdo_pgsql 5.6 7.0 7.1 7.2 7.3
pdo_sqlsrv 7.0 7.1 7.2
pdo_sqlsrv 7.0 7.1 7.2 7.3
pgsql 5.6 7.0 7.1 7.2 7.3
pspell 5.6 7.0 7.1 7.2 7.3
pthreads 5.6 7.0
@ -41,7 +41,7 @@ snmp 5.6 7.0 7.1 7.2 7.3
soap 5.6 7.0 7.1 7.2 7.3
sockets 5.6 7.0 7.1 7.2 7.3
solr 5.6 7.0 7.1
sqlsrv 7.0 7.1 7.2
sqlsrv 7.0 7.1 7.2 7.3
ssh2 5.6 7.0 7.1 7.2
sybase_ct 5.6
sysvmsg 5.6 7.0 7.1 7.2 7.3

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"