Merge pull request #2508 from laradock/php70-xdebug

xdebug drop support php7.0
This commit is contained in:
Shao Yu-Lung (Allen) 2020-02-18 13:22:37 +08:00 committed by GitHub
commit 833a91d8f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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