easy-deploy-bundle icon indicating copy to clipboard operation
easy-deploy-bundle copied to clipboard

Reset opcache via CLI

Open Seldaek opened this issue 8 years ago • 2 comments

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?

Seldaek avatar May 24 '17 06:05 Seldaek

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!

javiereguiluz avatar May 24 '17 07:05 javiereguiluz

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.

Seldaek avatar May 24 '17 07:05 Seldaek