从 mod_mpm_prefork 更改为 mod_mpm_event

问题描述

我正在尝试更改我的 apache 以开始使用线程。 所以我从 mod_mpm_prefork 改成了 mod_mpm_event。

在那之后,我开始收到这条消息

PHP Fatal error:  UnkNown: Cannot find save handler 'memcached' in UnkNown on line 0

我更改的唯一文件是 00-mpm.conf,这是现在的样子。

# Select the MPM module which should be used by uncommenting exactly
# one of the following LoadModule lines:

# prefork MPM: Implements a non-threaded,pre-forking web server
# See: http://httpd.apache.org/docs/2.4/mod/prefork.html
#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

# worker MPM: Multi-Processing Module implementing a hybrid
# multi-threaded multi-process web server
# See: http://httpd.apache.org/docs/2.4/mod/worker.html
#
#LoadModule mpm_worker_module modules/mod_mpm_worker.so

# event MPM: A variant of the worker MPM with the goal of consuming
# threads only for connections with active processing
# See: http://httpd.apache.org/docs/2.4/mod/event.html
#
LoadModule mpm_event_module modules/mod_mpm_event.so

我已经检查过我有 memcached 模块。 另外,除了这个我什么都没改,所以我觉得配置应该没问题。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)