From bac4aa2161dca7c078e254d2a0e8d22e38a9dea8 Mon Sep 17 00:00:00 2001 From: Chris Hanline Date: Fri, 27 Feb 2026 14:33:21 -0600 Subject: [PATCH] sqlsrv 5.13.0 for php 8.3, 8.4, 8.5 --- layers/sqlsrv/Dockerfile | 6 +++--- layers/sqlsrv/config.json | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/layers/sqlsrv/Dockerfile b/layers/sqlsrv/Dockerfile index b55c7e2b..d1a1bf35 100644 --- a/layers/sqlsrv/Dockerfile +++ b/layers/sqlsrv/Dockerfile @@ -10,9 +10,9 @@ RUN dnf -y install unixODBC-devel-2.3.9-3.amzn2023.0.3.x86_64 RUN curl -fsSL https://packages.microsoft.com/config/rhel/9/prod.repo > /etc/yum.repos.d/mssql-release.repo RUN ACCEPT_EULA=Y dnf -y install msodbcsql18-18.6.1.1-1.x86_64 -RUN if [ "$PHP_VERSION" = "84" ]; \ - then SQLSRV_VERSION=5.13.0beta1 ; \ - else SQLSRV_VERSION=5.12.0 ; \ +RUN if [ "$PHP_VERSION" = "82" ]; \ + then SQLSRV_VERSION=5.12.0 ; \ + else SQLSRV_VERSION=5.13.0 ; \ fi ; \ pecl install sqlsrv-${SQLSRV_VERSION} && \ pecl install pdo_sqlsrv-${SQLSRV_VERSION} diff --git a/layers/sqlsrv/config.json b/layers/sqlsrv/config.json index 2bf25de7..205ba218 100644 --- a/layers/sqlsrv/config.json +++ b/layers/sqlsrv/config.json @@ -2,6 +2,7 @@ "php": [ "82", "83", - "84" + "84", + "85" ] }