Skip to content

[Cache] Cannot warm or clear APCu cache from CLI with apc.enable_cli set to false #54066

Discussion options

You must be logged in to vote

APCu shared memory is process-specific. This means it's not possible to warmup or reset it from the CLI and have this impact another (non-CLI) process. That explains the chain behavior BTW: warming up can only be done with a persistent storage (the fs-adapter).
And clearing must be done from within non-CLI (most likely by restarting the webserver).
You need to use another backend if this behavior doesn't fit your need.

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@GuySartorelli
Comment options

Answer selected by GuySartorelli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #53962 on February 26, 2024 13:19.