Skip to content

Commit 6fdc61e

Browse files
committed
Update sqlsrv release download links to use ubuntu2204 variants where available
Signed-off-by: Aleksei Khudiakov <[email protected]>
1 parent 7138838 commit 6fdc61e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mods-install/install_sqlsrv.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ cd tmp
77
# Download extension versions from MS
88
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
99
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
10-
curl -L https://github.com/microsoft/msphpsql/releases/download/v5.11.0/Ubuntu2004-8.0.tar | tar xf - --strip-components=1 Ubuntu2004-8.0/php_pdo_sqlsrv_80_nts.so Ubuntu2004-8.0/php_sqlsrv_80_nts.so
11-
curl -L https://github.com/microsoft/msphpsql/releases/download/v5.11.0/Ubuntu2004-8.1.tar | tar xf - --strip-components=1 Ubuntu2004-8.1/php_pdo_sqlsrv_81_nts.so Ubuntu2004-8.1/php_sqlsrv_81_nts.so
12-
curl -L https://github.com/microsoft/msphpsql/releases/download/v5.11.0/Ubuntu2004-8.2.tar | tar xf - --strip-components=1 Ubuntu2004-8.2/php_pdo_sqlsrv_82_nts.so Ubuntu2004-8.2/php_sqlsrv_82_nts.so
13-
curl -L https://github.com/microsoft/msphpsql/releases/download/v5.12.0-beta1/Ubuntu2004-8.3.tar | tar xf - --strip-components=1 Ubuntu2004-8.3/php_pdo_sqlsrv_83_nts.so Ubuntu2004-8.3/php_sqlsrv_83_nts.so
10+
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
11+
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
12+
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
13+
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
1414

1515
# Copy extensions to appropriate locations for each PHP version
1616
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"

0 commit comments

Comments
 (0)