php5-redis does not pass tests and throws exception in MediaWiki 1.24wmf4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-redis (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
www-data@
Redis server v=2.8.4 sha=00000000:0 malloc=
Trying to run official test from cloned git repository https:/
www-data@
Note: these tests might take up to a minute. Don't worry :-)
...PHP Fatal error: Call to undefined method Redis::pubsub() in /var/www/
www-data@
The pubsub() test is supposed to be skipped
// Run some simple tests against the PUBSUB command. This is problematic, as we
// can't be sure what's going on in the instance, but we can do some things.
public function testPubSub() {
// Only available since 2.8.0
return;
}
// PUBSUB CHANNELS ...
$result = $this->
however it fails.
dpkg -s php5-redis
Package: php5-redis
Status: install ok installed
Priority: optional
Section: php
Installed-Size: 351
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: php-redis
Version: 2.2.4-1build2
Depends: libc6 (>= 2.14), phpapi-20121212
Suggests: redis-server
Conffiles:
/etc/php5/
When enabled in MediaWiki 1.24wmf4 (which is supposed to fully support redis) it fails with
[70f80411] 2014-05-17 17:39:35: Fatal exception of type MWException
## Shared memory settings
'wgObjectCaches' => array( 'default' =>
)
)
),
'wgMainCacheType' => array( 'default' => 'redis' ),
The site is a farm which uses wgConf.
The site is functional and works well with php5-apcu.
summary: |
- php5-redis does not pass testa and throws exception in MediaWiki + php5-redis does not pass tests and throws exception in MediaWiki 1.24wmf4 |
affects: | linux-lts-trusty (Ubuntu) → php-redis (Ubuntu) |
Status changed to 'Confirmed' because the bug affects multiple users.