Skip to content

Commit bac4aa2

Browse files
committed
sqlsrv 5.13.0 for php 8.3, 8.4, 8.5
1 parent 389c822 commit bac4aa2

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

layers/sqlsrv/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ RUN dnf -y install unixODBC-devel-2.3.9-3.amzn2023.0.3.x86_64
1010
RUN curl -fsSL https://packages.microsoft.com/config/rhel/9/prod.repo > /etc/yum.repos.d/mssql-release.repo
1111
RUN ACCEPT_EULA=Y dnf -y install msodbcsql18-18.6.1.1-1.x86_64
1212

13-
RUN if [ "$PHP_VERSION" = "84" ]; \
14-
then SQLSRV_VERSION=5.13.0beta1 ; \
15-
else SQLSRV_VERSION=5.12.0 ; \
13+
RUN if [ "$PHP_VERSION" = "82" ]; \
14+
then SQLSRV_VERSION=5.12.0 ; \
15+
else SQLSRV_VERSION=5.13.0 ; \
1616
fi ; \
1717
pecl install sqlsrv-${SQLSRV_VERSION} && \
1818
pecl install pdo_sqlsrv-${SQLSRV_VERSION}

layers/sqlsrv/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"php": [
33
"82",
44
"83",
5-
"84"
5+
"84",
6+
"85"
67
]
78
}

0 commit comments

Comments
 (0)