Merge pull request #2793 from jonpage999/master

For php-fpm, force XDebug to use v2
This commit is contained in:
Shao Yu-Lung (Allen) 2020-12-16 22:39:26 +08:00 committed by GitHub
commit 433d1aed8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
if [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \ if [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
pecl install xdebug-2.9.0; \ pecl install xdebug-2.9.0; \
else \ else \
pecl install xdebug; \ pecl install xdebug-2.9.8; \
fi \ fi \
fi && \ fi && \
docker-php-ext-enable xdebug \ docker-php-ext-enable xdebug \