Can’t Get Object Cache Recognized
-
Kudos for a truly awesome-looking caching plugin! I’m hard pressed to imagine some aspect of WP it >>doesn’t<< cache.
However, I am having trouble getting it to recognize and use memcached. This is on a Debian 10 system, all updates installed.
I’ve tried to follow the instructions on your github site that the plugin refers you to. But it didn’t work. When I do the “final” step of running
php -r 'phpinfo();' | grep 'memcache'
, I get nothing back.I think the problem may be related to the memcached.ini file not being in the right place. The instructions call for it to be placed in /etc/php.d…but on my debian 10 system, there is no /etc/php.d directory. Instead, there’s an /etc/php directory, which contains a number of subdirectories, one for each version of php installed.
I tried putting the ini file in /etc/php/7.4/mods-available and then restarting apache2, but that didn’t work. I’ve confirmed my site is using PHP7.4 (as it should).
There are also directories for apache2, fpm and cli (/etc/php/7.4/apache2, /etc/php/7.4/fpm, /etc/php/7.4/cli). Does the ini file belong in one of those, instead? Based on the contents of those directories I don’t think so, but…
Also, I see references online to having to install an object-cache.php file in wp-content. I don’t recall seeing that in the installation instructions. Is the file necessary? If so, where do I find it?
The page I need help with: [log in to see the link]
- The topic ‘Can’t Get Object Cache Recognized’ is closed to new replies.