0

我正在尝试更改我的 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 模块。另外,我没有改变任何东西,所以我认为配置必须没问题。

4

0 回答 0