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

Reset opcache via CLI #1

Open
Seldaek opened this issue May 24, 2017 · 2 comments
Open

Reset opcache via CLI #1

Seldaek opened this issue May 24, 2017 · 2 comments

Comments

@Seldaek
Copy link

Seldaek commented May 24, 2017

https://github.com/gordalina/cachetool/ actually lets you reset opcaches from CLI at least if you use FCGI/FPM. It does this by creating a temp file and then instructing the FCGI socket to execute that file, so it all happens without public URL. It would be good to somehow integrate it as an option, maybe if the binary is available globally it could be used, or require it as a dependency?

@javiereguiluz
Copy link
Contributor

Thanks for the proposal. I saw the tool when looking for solutions to clear the OPcache from the CLI. Sadly, as you said, it's only for people using FPM. But yes, I'm going to look how we can integrate that. Thanks!

@Seldaek
Copy link
Author

Seldaek commented May 24, 2017

Yeah it probably can't be the only solution you support if you care about apache, but it's a good way to simplify things for FPM users.

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