Skip to content

Commit 6eeb0c8

Browse files
committed
xdebug drop support php7.0
1 parent c073ebe commit 6eeb0c8

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)