note 126290 added to memcache.installation
| From: | sidi dot khalifa at live dot fr | Date: | Fri, 30 Jul 2021 07:16:15 +0000 |
| Subject: | note 126290 added to memcache.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216690@lists.php.net to get a copy of this message | ||
I hope this will help someone,
Context: I wanted to use memcache
like this:
$memcache = new \Memcache();
but composer suggests me to install the extension
"ext-memcache": "*",
but that one didn't want to work, so I installed
sudo apt install php7.4-memcache
sudo apt install php7.4-memcached
and all worked
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 82.127.254.78)
----
Manual Page -- https://php.net/manual/en/memcache.installation.php
Edit -- https://main.php.net/note/edit/126290
Del: integrated -- https://main.php.net/note/delete/126290/integrated
Del: useless -- https://main.php.net/note/delete/126290/useless
Del: bad code -- https://main.php.net/note/delete/126290/bad+code
Del: spam -- https://main.php.net/note/delete/126290/spam
Del: non-english -- https://main.php.net/note/delete/126290/non-english
Del: in docs -- https://main.php.net/note/delete/126290/in+docs
Del: other reasons-- https://main.php.net/note/delete/126290
Reject -- https://main.php.net/note/reject/126290
Search -- https://main.php.net/manage/user-notes.php