View this package for all CentOS/RHEL versions →
How to install cachetool in CentOS/RHEL 10 (noarch)
Manage PHP cache in the CLI
Install
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -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...
Compatibility
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
RPMs
| Package | Size | Changelog |
|---|---|---|
| cachetool-3.2.2-1.el10.noarch | 281 KiB |
Danila Vershinin (2020-09-11) - 3.2.2 release compatible with PHP >= 5.5.9 |