I’m trying to install emoncms on my openSUSE system, so I can experiment with it more easily than on my production pi. But I’m getting an error I don’t understand. When I go to http://localhost/emoncms/ I see:
settings.php file error redis enabled but not installed, check setting: redis_enabled To fix, check that the settings are set in settings.php or try re-creating your settings.php file from default.settings.php template
Now it’s a very misleading error, because redis is installed and running:
$ systemctl status [email protected] ● [email protected] - Redis Loaded: loaded (/usr/lib/systemd/system/[email protected]; enabled; vendor preset: disabled) Drop-In: /etc/systemd/system/[email protected] └─limits.conf Active: active (running) since Mon 2019-03-04 20:02:01 GMT; 24h ago Main PID: 14244 (redis-server) Tasks: 4 (limit: 4915) CGroup: /system.slice/system-redis.slice/[email protected] └─14244 /usr/sbin/redis-server 127.0.0.1:6379
and the suggested fix is exactly the opposite of what I need. I want to fix the problem, not make it go away by stopping redis!
Eventually I figured that the problem it is reporting is an apparent problem with the PHP redis subsystem, but php_info.php shows:
PHP Version => 7.2.5
redis Redis Support => enabled Redis Version => 4.0.2 Available serializers => php
So I’m a bit stumped. I know next to nothing about PHP and very little about redis.
I can’t follow the published instructions exactly, since openSUSE uses a different system to debian and derivatives. So if anybody can explain what I should be checking in simple words …