Skip to content

Commit 833a91d

Browse files
authored
Merge pull request laradock#2508 from laradock/php70-xdebug
xdebug drop support php7.0
2 parents c073ebe + 6eeb0c8 commit 833a91d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

php-fpm/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,11 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
189189
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
190190
pecl install xdebug-2.5.5; \
191191
else \
192-
pecl install xdebug; \
192+
if [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
193+
pecl install xdebug-2.9.0; \
194+
else \
195+
pecl install xdebug; \
196+
fi \
193197
fi && \
194198
docker-php-ext-enable xdebug \
195199
;fi

0 commit comments

Comments
 (0)