【发布时间】:2018-04-20 19:23:19
【问题描述】:
所以我有一个运行 joomla 的网站,我尝试从 CMS 管理仪表板将 session handler 设置为 redis。我在主页和我访问的网站的所有其他页面上都收到以下错误。
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
我的服务器默认配置为php-fpm,现在有趣的是,如果我将 php-wrapper/module 更改为使用Fast-CGI 运行(来自我的服务器控制面板)一切完美运行。
顺便说一句,我在 Ubuntu 上使用 PHP-Redis 作为客户端库,并使用 ISPConfig 作为我的 LAMP 设置控制面板。
【问题讨论】: