So I have a website running joomla, and I tried setting the session handler
to redis
from CMS admin dashboard. I am getting the following error on homepage and every other page of the website I visit.
Error: Failed to start application: Connection closed
Fatal error: Uncaught RedisException: Connection closed in /var/www/xxxx/libraries/joomla/session/handler/native.php:194 Stack trace: #0 /var/www/xxxx/libraries/joomla/session/handler/native.php(194): session_write_close() #1 [internal function]: JSessionHandlerNative->save() #2 {main} thrown in /var/www/clients/client3/web9/web/libraries/joomla/session/handler/native.php on line 194
My server is configured with php-fpm
as default, Now the interesting thing is that, if I change the php-wrapper/module to run with Fast-CGI
(from my server control panel) everything works perfect.
Btw, I am using PHP-Redis
as the client library, on Ubuntu, and ISPConfig as my control panel for a LAMP setup.