From 75d28db7f4c5aeeeea15e3bff3ceddf0bdbf8e62 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Tue, 1 Feb 2022 14:11:52 +0100 Subject: [PATCH] Fix installing sqlsrv/pdo_sqlsrv on PHP 7.3 and PHP 8.1 (#502) --- install-php-extensions | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/install-php-extensions b/install-php-extensions index 6711b02..f306a37 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -2569,20 +2569,8 @@ installRemoteModule() { installRemoteModule_version=5.6.1 elif test $PHP_MAJMIN_VERSION -le 702; then installRemoteModule_version=5.8.1 - elif test $PHP_MAJMIN_VERSION -ge 801; then - # https://github.com/microsoft/msphpsql/commits/PHP-8.1-dev - installRemoteModule_src="$(getPackageSource https://codeload.github.com/microsoft/msphpsql/tar.gz/f00dc9f0c555eebaf9f1e5a9bd1a04044908bba1)" - cd -- "$installRemoteModule_src/source/$installRemoteModule_module" - if command -v bash >/dev/null; then - (cd .. && bash ./packagize.sh) - else - (cd .. && sh ./packagize.sh) - fi - phpize - ./configure - make -j$(getProcessorCount) install - cd - >/dev/null - installRemoteModule_manuallyInstalled=1 + elif test $PHP_MAJMIN_VERSION -le 703; then + installRemoteModule_version=5.9.0 fi fi ;;