From 126e4c908bca402a2484fdf8b27aec7c36406a69 Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Thu, 5 Oct 2023 07:49:01 -0700 Subject: [PATCH] Readme: Clarify that need `memcache` extension, not `memcached` The two names are very similar, and it's easy for a user to assume the `memcached` extension should be installed because the plugin is named `memcached`, and the readme mostly references `memcached`. --- readme.txt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/readme.txt b/readme.txt index 84d1304..3e2215f 100644 --- a/readme.txt +++ b/readme.txt @@ -6,15 +6,15 @@ Tested up to: 6.0 Stable tag: 4.0.0 Requires PHP: 7.4.0 -Use memcached and the PECL memcache extension to provide a backing store for the WordPress object cache. +Use memcached (with the `d`) and the PECL memcache (without `d`) extension to provide a backing store for the WordPress object cache. == Description == -Memcached Object Cache provides a persistent backend for the WordPress object cache. A memcached server and the PECL memcache extension are required. +Memcached Object Cache provides a persistent backend for the WordPress object cache. A memcached server (with the `d`) and the PECL memcache (without `d`) extension are required. == Installation == -1. Install [memcached](http://danga.com/memcached) on at least one server. Note the connection info. The default is `127.0.0.1:11211`. +1. Install [memcached](http://danga.com/memcached) (with the `d`) on at least one server. Note the connection info. The default is `127.0.0.1:11211`. -1. Install the [PECL memcache extension](http://pecl.php.net/package/memcache) +1. Install the [PECL memcache extension](http://pecl.php.net/package/memcache) (without `d`). 1. Copy object-cache.php to wp-content @@ -81,6 +81,13 @@ userslugs widget ` += Why am I getting a `Class "Memcache" not found` error? = + +You need to install the [PECL memcache extension](http://pecl.php.net/package/memcache). Make sure it's `memcache` (no `d`) rather than `memcached` (with `d`). + +Make sure it's loaded in your `php.ini` and `php-cli.ini` files. It's a regular `extension` rather than a `zend_extension`. + + == Changelog == = 4.0.0 =