note 126256 added to intro.memcache
| From: | vidux dot me at gmail dot com | Date: | Tue, 20 Jul 2021 11:36:48 +0000 |
| Subject: | note 126256 added to intro.memcache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216626@lists.php.net to get a copy of this message | ||
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
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 2402:4000:20c1:79fd:3e7c:3fff:febc:786e)
----
Manual Page -- https://php.net/manual/en/intro.memcache.php
Edit -- https://main.php.net/note/edit/126256
Del: integrated -- https://main.php.net/note/delete/126256/integrated
Del: useless -- https://main.php.net/note/delete/126256/useless
Del: bad code -- https://main.php.net/note/delete/126256/bad+code
Del: spam -- https://main.php.net/note/delete/126256/spam
Del: non-english -- https://main.php.net/note/delete/126256/non-english
Del: in docs -- https://main.php.net/note/delete/126256/in+docs
Del: other reasons-- https://main.php.net/note/delete/126256
Reject -- https://main.php.net/note/reject/126256
Search -- https://main.php.net/manage/user-notes.php