sqlsrv/pdo_sqlsrv: fix installing on PHP 8.0, update msodbcsql on Alpine (#877)
parent
da13fc502a
commit
d56469d230
|
@ -2051,7 +2051,7 @@ installMicrosoftSqlServerODBC() {
|
|||
alpine)
|
||||
rm -rf /tmp/src/msodbcsql.apk
|
||||
if test $PHP_MAJMIN_VERSION -le 703; then
|
||||
curl -sSLf -o /tmp/src/msodbcsql.apk https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.9.1.1-1_amd64.apk
|
||||
curl -sSLf -o /tmp/src/msodbcsql.apk https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.10.5.1-1_amd64.apk
|
||||
else
|
||||
case $(uname -m) in
|
||||
aarch64 | arm64 | armv8)
|
||||
|
@ -2061,7 +2061,7 @@ installMicrosoftSqlServerODBC() {
|
|||
installMicrosoftSqlServerODBC_arch=amd64
|
||||
;;
|
||||
esac
|
||||
curl -sSLf -o /tmp/src/msodbcsql.apk https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/msodbcsql18_18.3.1.1-1_$installMicrosoftSqlServerODBC_arch.apk
|
||||
curl -sSLf -o /tmp/src/msodbcsql.apk https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/msodbcsql18_18.3.2.1-1_$installMicrosoftSqlServerODBC_arch.apk
|
||||
fi
|
||||
printf '\n' | apk add --allow-untrusted /tmp/src/msodbcsql.apk
|
||||
rm -rf /tmp/src/msodbcsql.apk
|
||||
|
@ -3632,6 +3632,8 @@ installRemoteModule() {
|
|||
installRemoteModule_version=5.9.0
|
||||
elif test $PHP_MAJMIN_VERSION -le 704; then
|
||||
installRemoteModule_version=5.10.1
|
||||
elif test $PHP_MAJMIN_VERSION -le 800; then
|
||||
installRemoteModule_version=5.11.1
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue