Merge pull request #2508 from laradock/php70-xdebug
xdebug drop support php7.0
This commit is contained in:
commit
833a91d8f8
|
@ -188,8 +188,12 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||||
# Install the xdebug extension
|
# Install the xdebug extension
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install xdebug-2.5.5; \
|
pecl install xdebug-2.5.5; \
|
||||||
|
else \
|
||||||
|
if [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
|
||||||
|
pecl install xdebug-2.9.0; \
|
||||||
else \
|
else \
|
||||||
pecl install xdebug; \
|
pecl install xdebug; \
|
||||||
|
fi \
|
||||||
fi && \
|
fi && \
|
||||||
docker-php-ext-enable xdebug \
|
docker-php-ext-enable xdebug \
|
||||||
;fi
|
;fi
|
||||||
|
|
Loading…
Reference in New Issue