PHP Velho Oeste 2024


Memcache 模块为 memcached 提供了方便的面向过程及面向对象的接口,memcached 是为了降低动态 web 应用程序数据库负载的一种高效的缓存守护程序。

Memcache 模块同时提供了 session 处理程序(memcache)。

更多关于 memcached 的信息请参见 »

add a note

User Contributed Notes 1 note

vidux dot me at gmail dot com
2 years ago
i have faced a error when install Memcached.
"Memcached" class not found. im using php 7.4 with apache server on ubuntu 20.04. this is how i fixed it.. hope someone can help it.

first i installed

sudo apt install memcached libmemcached-tools

then check service status
sudo systemctl status memcached

then install php-memcached
sudo apt-get install -y php-memcached

and lastly
sudo apt-get install php7.4-memcached

then restarted Apache:
sudo service apache2 restart
To Top