Skip to content

Commit

Permalink
Merge pull request #490 from buddhaCode/patch-1
Browse files Browse the repository at this point in the history
update PDO sqlsrv to 5.11.1
  • Loading branch information
mnapoli authored Sep 19, 2023
2 parents f62c649 + 3ad680b commit 15e0dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layers/sqlsrv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ RUN yum -y install unixODBC-devel-2.3.1-14.amzn2.x86_64
RUN curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/mssql-release.repo
RUN ACCEPT_EULA=Y yum -y install msodbcsql17-17.10.1.1-1.x86_64

RUN pecl install sqlsrv-5.10.1 && \
pecl install pdo_sqlsrv-5.10.1
RUN pecl install sqlsrv-5.11.1 && \
pecl install pdo_sqlsrv-5.11.1

RUN cp `php-config --extension-dir`/sqlsrv.so /tmp/sqlsrv.so
RUN cp `php-config --extension-dir`/pdo_sqlsrv.so /tmp/pdo_sqlsrv.so
Expand Down

0 comments on commit 15e0dec

Please sign in to comment.