By Adrian Philipp
How to get PHP-FPM opcache statistics without exposing any routes.
This tool can read APC and opcache statistics from a local PHP-FPM pool.
curl -sLO https://github.com/gordalina/cachetool/releases/download/6.5.0/cachetool.phar
- Read statistics
php cachetool.phar opcache:status --fcgi
#published #tool #php #performance
These notes are unpolished collections of thoughts, unfinished ideas, and things I want to remember later. In the spirit of learning in public, I'm sharing them here. Have fun exploring, if you want!