Skip to content

Commit

Permalink
Disable redis extension on PHP 7.2
Browse files Browse the repository at this point in the history
More details in MDL-60978
Fixes redis unit tests failures in moodlehq#16
  • Loading branch information
scara committed Jan 27, 2018
1 parent aaf7d05 commit 439d3ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion root/tmp/setup/php-extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/
docker-php-ext-install -j$(nproc) ldap

pecl install memcached redis apcu igbinary
docker-php-ext-enable memcached redis apcu igbinary
# Disable 'redis' due to MDL-60978 docker-php-ext-enable memcached redis apcu igbinary
docker-php-ext-enable memcached apcu igbinary

echo 'apc.enable_cli = On' >> /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini

Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'mysqli',
'oci8',
'pgsql',
'redis',
# Disabled because of PHP #75628 (MDL-60978) 'redis',
# Disabled because it's not available for php72 yet 'solr',
'soap',
'sqlsrv',
Expand Down

0 comments on commit 439d3ae

Please sign in to comment.