We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c073ebe commit 6eeb0c8Copy full SHA for 6eeb0c8
1 file changed
php-fpm/Dockerfile
@@ -189,7 +189,11 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
189
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
190
pecl install xdebug-2.5.5; \
191
else \
192
- pecl install xdebug; \
+ if [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
193
+ pecl install xdebug-2.9.0; \
194
+ else \
195
+ pecl install xdebug; \
196
+ fi \
197
fi && \
198
docker-php-ext-enable xdebug \
199
;fi
0 commit comments