Steps to reproduce
First of all: sorry for my english and probably sorry for my explanation. I am newbie in
Owncloud.
I made a clean installation of owncloud on debian wheezy according to this howto:
I know, the howto is written for Jessie, but all steps works. So there is php 5.4.45,
apache 2.2.22, mysql Ver 14.14 and Owncloud 8.1.9.2 installed.
Now I would like to enable redis memcache in order to get a better performance. Therefore I
tried the following howto:
https://www.bdjl.de/localhost/?p=4681
Expected behaviour
I would like to get faster access to owncloud especially for external access and by viewing photos.
Actual behaviour
But after adding the redis lines in config.php of owncloud, I only get a white page.
Server configuration
Operating system: debian wheezy
Web server: apache2
Database: mysql Ver 14.14
PHP version: 5.4.45
ownCloud version (see ownCloud admin page): 8.1.9.2
My /var/www/owncloud/config/config.php:
<?php define('DEBUG',true); $CONFIG = array ( 'instanceid' => 'ocdfdf', 'passwordsalt' => 'xxx/xxxxxxxxxxxxxxxxxx', 'secret' => 'xxxxxxxxxxxxxxxxxxxxx', 'trusted_domains' => array ( 0 => '192.168.200.22', ), 'datadirectory' => '/var/www/owncloud/data', 'overwrite.cli.url' => 'http://192.168.200.22/owncloud', 'dbtype' => 'mysql', 'version' => '8.1.9.2', 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'owncloud', 'dbpassword' => 'xxx', 'logtimezone' => 'UTC', 'installed' => true, 'memcache.local' => '\\OC\\Memcache\\Redis', 'filelocking.enabled' => 'true', 'memcache.distributed' =>'\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'localhost', 'port' => 6379, 'timeout' => 0, 'dbindex' => 0, ), ); /var/log/redis/redis-server.log [3327] 25 Sep 14:27:14 # User requested shutdown... [3327] 25 Sep 14:27:14 * Saving the final RDB snapshot before exiting. [3327] 25 Sep 14:27:14 * DB saved on disk [3327] 25 Sep 14:27:14 * Removing the pid file. [3327] 25 Sep 14:27:14 # Redis is now ready to exit, bye bye... [3389] 25 Sep 14:27:15 * Server started, Redis version 2.4.14 [3389] 25 Sep 14:27:15 * DB loaded from disk: 0 seconds [3389] 25 Sep 14:27:15 * The server is now ready to accept connections on port 6379 /var/log/apache2/error.log [Sun Sep 25 07:25:27 2016] [error] [client 192.168.200.34] PHP Fatal error: Uncaught OC\\HintException: [0]: Missing memcache class \\OC\\Memcache\\Redis for local cache (Is the matching PHP module installed and enabled ?)\n\n thrown in /var/www/owncloud/lib/private/memcache/factory.php on line 75 [Sun Sep 25 07:27:04 2016] [notice] caught SIGTERM, shutting down PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/redis.so' - /usr/lib/php5/20100525/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0 [Sun Sep 25 07:27:05 2016] [notice] Apache/2.2.22 (Debian) PHP/5.4.45-0+deb7u5 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations [Sun Sep 25 14:28:09 2016] [error] [client 192.168.200.34] PHP Fatal error: Uncaught OC\\HintException: [0]: Missing memcache class \\OC\\Memcache\\Redis for local cache (Is the matching PHP module installed and enabled ?)\n\n thrown in /var/www/owncloud/lib/private/memcache/factory.php on line 75 I think, in apache error.log, the error is described, but unfortunately I don’t know, what I should change. If there are other logs or other debug level, that I should enable, please let me know. My owncloud log is empty. Shall I upgrade to oc 9 ? This is just a test installation. I am using an other owncloud installation, but the access of my other owncloud is too slow. As I wasn't able to enable redis there, I tried a clean installation. But with the same result: a white page... Thanks and best regards Kamikaze