Skip to content

Commit

Permalink
lock xdebug at 2.9.8 for php < 8 - edbizarro#105
Browse files Browse the repository at this point in the history
  • Loading branch information
rocksfrow committed Feb 1, 2021
1 parent bfdd93c commit 64bf143
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions php/scripts/extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ elif [[ $PHP_VERSION == "7.4" || $PHP_VERSION == "7.3" ]]; then
&& docker-php-source delete

pecl channel-update pecl.php.net \
&& pecl install amqp redis apcu mongodb imagick xdebug \
&& pecl install amqp redis apcu mongodb imagick xdebug-2.9.8 \
&& docker-php-ext-enable amqp redis apcu mongodb imagick xdebug

elif [[ $PHP_VERSION == "7.2" ]]; then
Expand All @@ -202,13 +202,13 @@ elif [[ $PHP_VERSION == "7.2" ]]; then
&& docker-php-source delete

pecl channel-update pecl.php.net \
&& pecl install amqp redis apcu mongodb imagick xdebug \
&& pecl install amqp redis apcu mongodb imagick xdebug-2.9.8 \
&& docker-php-ext-enable amqp redis apcu mongodb imagick xdebug

else
apt-get update && docker-php-ext-install -j$(nproc) mcrypt
pecl channel-update pecl.php.net \
&& pecl install amqp redis mongodb xdebug apcu memcached imagick \
&& pecl install amqp redis mongodb xdebug-2.9.8 apcu memcached imagick \
&& docker-php-ext-enable amqp redis mongodb xdebug apcu memcached imagick
fi

Expand Down

0 comments on commit 64bf143

Please sign in to comment.