Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 =
Expand Down