From d8195adc487d06d2fd1f3a94dbfe825567af1297 Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Thu, 1 Feb 2024 18:32:29 +1000 Subject: [PATCH] Update ext-sqlsrv to 5.12 Signed-off-by: Aleksei Khudiakov --- mods-install/install_sqlsrv.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods-install/install_sqlsrv.sh b/mods-install/install_sqlsrv.sh index 1a1495d..1dac451 100755 --- a/mods-install/install_sqlsrv.sh +++ b/mods-install/install_sqlsrv.sh @@ -8,9 +8,9 @@ cd tmp curl -L https://github.com/microsoft/msphpsql/releases/download/v5.9.0/Ubuntu2004-7.3.tar | tar xf - --strip-components=1 Ubuntu2004-7.3/php_pdo_sqlsrv_73_nts.so Ubuntu2004-7.3/php_sqlsrv_73_nts.so curl -L https://github.com/microsoft/msphpsql/releases/download/v5.10.1/Ubuntu2004-7.4.tar | tar xf - --strip-components=1 Ubuntu2004-7.4/php_pdo_sqlsrv_74_nts.so Ubuntu2004-7.4/php_sqlsrv_74_nts.so curl -L https://github.com/microsoft/msphpsql/releases/download/v5.11.1/Ubuntu2204-8.0.tar | tar xf - --strip-components=1 Ubuntu2204-8.0/php_pdo_sqlsrv_80_nts.so Ubuntu2204-8.0/php_sqlsrv_80_nts.so -curl -L https://github.com/microsoft/msphpsql/releases/download/v5.11.1/Ubuntu2204-8.1.tar | tar xf - --strip-components=1 Ubuntu2204-8.1/php_pdo_sqlsrv_81_nts.so Ubuntu2204-8.1/php_sqlsrv_81_nts.so -curl -L https://github.com/microsoft/msphpsql/releases/download/v5.11.1/Ubuntu2204-8.2.tar | tar xf - --strip-components=1 Ubuntu2204-8.2/php_pdo_sqlsrv_82_nts.so Ubuntu2204-8.2/php_sqlsrv_82_nts.so -curl -L https://github.com/microsoft/msphpsql/releases/download/v5.12.0-beta1/Ubuntu2204-8.3.tar | tar xf - --strip-components=1 Ubuntu2204-8.3/php_pdo_sqlsrv_83_nts.so Ubuntu2204-8.3/php_sqlsrv_83_nts.so +curl -L https://github.com/microsoft/msphpsql/releases/download/v5.12.0/Ubuntu2204-8.1.tar | tar xf - --strip-components=1 Ubuntu2204-8.1/php_pdo_sqlsrv_81_nts.so Ubuntu2204-8.1/php_sqlsrv_81_nts.so +curl -L https://github.com/microsoft/msphpsql/releases/download/v5.12.0/Ubuntu2204-8.2.tar | tar xf - --strip-components=1 Ubuntu2204-8.2/php_pdo_sqlsrv_82_nts.so Ubuntu2204-8.2/php_sqlsrv_82_nts.so +curl -L https://github.com/microsoft/msphpsql/releases/download/v5.12.0/Ubuntu2204-8.3.tar | tar xf - --strip-components=1 Ubuntu2204-8.3/php_pdo_sqlsrv_83_nts.so Ubuntu2204-8.3/php_sqlsrv_83_nts.so # Copy extensions to appropriate locations for each PHP version mv php_pdo_sqlsrv_73_nts.so "$(php7.3 -i | grep -P '^extension_dir' | sed -E -e 's/^extension_dir\s+=>\s+\S+\s+=>\s+(.*)$/\1/')/pdo_sqlsrv.so"