Fix build of pdo_sqlsrv for PHP 7.1

This commit is contained in:
cytopia
2020-02-04 17:36:03 +01:00
parent ef5b2ed58c
commit bc851cca0f
2 changed files with 7 additions and 2 deletions

View File

@@ -447,10 +447,10 @@ RUN set -eux \
# -------------------- Installing PHP Extension: pdo_sqlsrv --------------------
RUN set -eux \
# Installation: Generic
# Installation: Version specific
# Type: PECL extension
# Default: Pecl command
&& pecl install pdo_sqlsrv \
&& pecl install pdo_sqlsrv-5.6.1 \
# Enabling
&& docker-php-ext-enable pdo_sqlsrv \
&& true

View File

@@ -716,6 +716,11 @@ extensions_available:
version: 5.3.0
build_dep: [unixodbc-dev]
run_dep: [unixodbc]
7.1:
type: pecl
version: 5.6.1
build_dep: [unixodbc-dev]
run_dep: [unixodbc]
all:
type: pecl
build_dep: [unixodbc-dev]