close

Slick­Stack

October 2024 promo! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

good PHP OPcache GUI or monitoring scripts?

  • This topic is empty.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #4167
    Kenneth
    Guest

    I used this one for a long time, but haven’t tested it for PHP 7 or 8 which I’m guessing it doesn’t support

    https://github.com/rlerdorf/opcache-status

    what are you guys using to monitoring OPcache or drill-down on script usage

    #4168
    Christine
    Guest
    #4171
    Nicholas
    Guest

    not updated in 9 years, you could spin the wheel and try on PHP 8 if you want 😀

    #4185
    Margaret
    Guest

    This one is also single file opcache.php

    https://github.com/carlosbuenosvinos/opcache-dashboard

    but not updated for 7 years.

    #4232
    Hannah
    Guest

    I guess the PHP guru have all moved on to JS frameworks and SSGs? Or what

    #4233
    Jeffrey
    Guest

    lol

    #4235
    Michael
    Guest

    Cachetool is a newer beast that includes a CLI. I think some of the features might be overkill for a lightweight LEMP stack like SlickStack esp. since OPcache is set by default to expire PHP file contents within a few seconds, it doesn’t need tons of analysis.

    https://github.com/gordalina/cachetool

    #4236
    Michelle
    Guest

    opcache-gui is a lighter script, I’m pretty sure it’s also a single-file script like the others mentioned top of this thread.

    https://github.com/amnuts/opcache-gui

    Kinda weird they called it index.php by default though? instead of opcache.php

    #4240
    John
    Guest

    niiiiiceeeeeeee…..

    #21433
    Catherine
    Guest

    Cachetools says:

    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…
    Note that, unlike APCu and Opcache, the file status cache is per-process rather than stored in shared memory. This means that running stat:clear against PHP-FPM will only affect whichever FPM worker responds to the request, not the whole pool. Julien Pauli has written a post with more details on how the file status cache operates.

    I have never had to “restart PHP-FPM” to clear Opcache, you can do it with PHP function???

    #21434
    Nicholas
    Guest

    some newer project:

    https://github.com/RobiNN1/phpCacheAdmin (for docker maybe)

    #21435
    Lisa
    Guest

    The @Amnuts is simplest script. And supports JIT.

    #24855
    Jeremy
    Guest

    Shared by a member of our Discord:

    https://gitlab.com/gnombat/opcachetuner

    #26326
    Gloria
    Guest

    any update on this? will it be made part of the WP Admin >> SlickStack menu?

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: good PHP OPcache GUI or monitoring scripts?

Thanks to our generous sponsors for their support!