Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear web SAPI APC cache from the CLI #30

Open
jhallbachner opened this issue Jun 17, 2013 · 1 comment
Open

Clear web SAPI APC cache from the CLI #30

jhallbachner opened this issue Jun 17, 2013 · 1 comment

Comments

@jhallbachner
Copy link
Contributor

Right now APC caches are separated by SAPI. Clearing the cache from CLI PHP will successfully clear the cache overall for any other handler, but will leave APC untouched.

The best solution I can come up with here at the moment is to create a URL route which clears the APC cache if a matching token is passed, then curl it directly from the CLI command.

@lunetics
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants