Skip to content

Commit 1803f42

Browse files
authored
use SQLSRV 5.12.0 for PHP 8.1, 8.2, 8.3 (#530)
1 parent d1348d8 commit 1803f42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

layers/sqlsrv/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ RUN yum -y install unixODBC-devel-2.3.1-14.amzn2.x86_64
1010
RUN curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/mssql-release.repo
1111
RUN ACCEPT_EULA=Y yum -y install msodbcsql17-17.10.1.1-1.x86_64
1212

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

0 commit comments

Comments
 (0)