Merge pull request #42 from mlocati/sqlsrv-php7.4

Prepare pdo_sqlsrv/sqlsrv for PHP 7.4
pull/43/head
Michele Locati 2019-10-10 16:55:07 +02:00 committed by GitHub
commit eada447420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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 # 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 if test $1 -le 700; then
installPECLModule_actual="${2}-5.3.0" installPECLModule_actual="${2}-5.3.0"
elif test $1 -ge 704; then
installPECLModule_actual="${2}-5.7.0preview"
fi fi
;; ;;
pthreads) pthreads)