Merge pull request #3168 from yenhi/mssql_pecl
Fix sqlsrv latest not support PHP 7.3
This commit is contained in:
commit
9b41cf0d48
|
@ -1081,6 +1081,8 @@ RUN set -eux; \
|
||||||
pecl install pdo_sqlsrv-5.6.1 sqlsrv-5.6.1 \
|
pecl install pdo_sqlsrv-5.6.1 sqlsrv-5.6.1 \
|
||||||
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70200" ]; then \
|
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70200" ]; then \
|
||||||
pecl install pdo_sqlsrv-5.8.1 sqlsrv-5.8.1 \
|
pecl install pdo_sqlsrv-5.8.1 sqlsrv-5.8.1 \
|
||||||
|
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70300" ]; then \
|
||||||
|
pecl install pdo_sqlsrv-5.9.0 sqlsrv-5.9.0 \
|
||||||
;else \
|
;else \
|
||||||
pecl install pdo_sqlsrv sqlsrv \
|
pecl install pdo_sqlsrv sqlsrv \
|
||||||
;fi && \
|
;fi && \
|
||||||
|
|
Loading…
Reference in New Issue