Subscribe

How to install cachetool (noarch)

Manage PHP cache in the CLI

License: GPLv2+ and MIT and BSD https://github.com/gordalina/cachetool

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo amazon-linux-extras install epel
sudo yum -y install cachetool

Description

CacheTool allows you to work with APCu, OPcache, and the file status cache through the CLI. It will connect to a FastCGI server (like PHP-FPM) and operate on its cache. Why is this useful? * Maybe you want to clear the bytecode cache without reloading php-fpm or using a web endpoint * Maybe you want to have a cron which deals with cache invalidation * Maybe you want to see some statistics right from the console * And many more...

RPMs

Danila Vershinin (2020-09-11) - 3.2.2 release compatible with PHP >= 5.5.9
Danila Vershinin (2020-07-16) - 3.2.1 release compatible with PHP >= 5.5.9 (3.2.2 has runtime issue https://github.com/gordalina/cachetool/issues/158) · - fixed up binary