From 72d52be362d241f81dd0f78cf9d5ca399211311c Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 10 Oct 2019 16:43:54 +0200 Subject: [PATCH] Prepare pdo_sqlsrv/sqlsrv for PHP 7.4 Test: sqlsrv, pdo_sqlsrv --- install-php-extensions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-php-extensions b/install-php-extensions index b023874..5478298 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -449,6 +449,8 @@ installPECLModule () { # 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" + elif test $1 -ge 704; then + installPECLModule_actual="${2}-5.7.0preview" fi ;; pthreads)