我迁移了一个使用 moodle 的网站。现在我收到此错误:"Session handler is misconfigured"
。
我检查了服务器的日志,但我找不到任何东西,我检查了所有文件权限:
php -v
PHP 5.5.9-1ubuntu4.17 (cli) (built: May 19 2016 19:05:57)
mysql -V
mysql Ver 14.14 Distrib 5.5.49, for debian-linux-gnu (x86_64) using readline 6.3
知道如何解决这类问题吗?
最佳答案
可能缺少内存缓存模块,内存缓存是最常用的缓存引擎。 只需(在 ubuntu 中)以这种方式安装:
sudo apt-get install php5-memcached memcached
您还必须以这种方式启动 memcached 并重新启动 apache2:
service memcached start
service apache2 restart
关于php - 迁移后 Moodle 给出 "Session handler is misconfigured"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38112506/