sqlite-object-cache icon indicating copy to clipboard operation
sqlite-object-cache copied to clipboard

Cache corruption with APCu / IIS / and php session stuff enabled

Open OllieJones opened this issue 9 months ago • 0 comments

Alain Melsens reports cache corruption on IIS with APCu caching activated. Specifically, he reports loss of plugin activation. That usually happens if the options|alloptions cache entry gets lost or damaged.

He wrote:

A conflict with a couple of session parameters (session.lifetime & session.gc_maxlifetime) in the php.ini file. I don’t remember exactly why I added these. Perhaps I read it somewhere on the Internet.

I removed them and now everything works correctly. Now I can use APCu without any impact on the WordPress dashboard. I no longer get automatically logged out and everything now works correctly and also faster.

This task is to detect the situation and warn the user. (Or, if possible work around it.)

OllieJones avatar Apr 08 '25 21:04 OllieJones