Commit ea6641b4 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

La dernière version de xdebug (3.3.1) fait planter (erreur 503) donc install de la version 3.2.0

parent 12221827
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ RUN apt-get -qq update && \
        php${PHP_VERSION}-opcache \
        php${PHP_VERSION}-pgsql \
        php${PHP_VERSION}-soap \
        php${PHP_VERSION}-xdebug \
#        php${PHP_VERSION}-xdebug \
        php${PHP_VERSION}-xml \
        php${PHP_VERSION}-zip \
        php${PHP_VERSION}-cli \
@@ -113,6 +113,11 @@ RUN apt-get -qq update && \
        php${PHP_VERSION}-opcache \
        php${PHP_VERSION}-readline

# La dernière version de xdebug (3.3.1) fait planter (erreur 503) donc install de la version 3.2.0
RUN pecl install xdebug-3.2.0 && \
    echo 'zend_extension=xdebug.so' > /etc/php/${PHP_VERSION}/cli/conf.d/20-xdebug.ini && \
    echo 'zend_extension=xdebug.so' > /etc/php/${PHP_VERSION}/fpm/conf.d/20-xdebug.ini

# Forçage de la version de PHP CLI
RUN update-alternatives --set php /usr/bin/php${PHP_VERSION}