APCu: accessing common cache from WebServer & CLI

Viewed 969

I have a webapp (running under Apache) which populates some values in an APCu cache.

I'm trying to access this APCu cache from command line (yes, I've enabled (and tested) the cache for CLI processes in the INI file) but I don't seem to be able to retrieve anything from the cache.

As such, my fundamental question is: is it possible to share a cache between an Apache instance and a CLI process? Any special tips/tricks that I should be aware of in order to get this to work?

0 Answers
Related