Logo Knowledge
  • Product Documentation
  • Insight
  • Developer Center
  • Training
  • Submit a Request
  • Product Documentation
  • Insight
  • Developer Center
  • Training
  • Submit a Request
  1. Acquia Support Knowledge Base
  2. How-To
  3. Tips & Tricks

How to clear OPcache

    See more
    • Created
    • February 18, 2021 12:05

    If you want to flush OPcache the possible best way is using a tool on your code to connect to the OPcache service and clean it. 

    As this operation is something that you cannot do immediately from the Acquia Cloud UI, we advise you to install the opcache gui published on the github repository below:

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

    As the developers said, the opache-guis is a clean and responsive interface for Zend OPcache information, showing statistics, settings and cached files, and providing a real-time update for the information. This interface uses ReactJS and Axios and is for modern browsers and requires a minimum of PHP 7.1.

    Steps to install it:

    1. Download the code directly to the docroot.
    2. Add it on you repository on your local machine by running the following command:

    wget https://raw.githubusercontent.com/amnuts/opcache-gui/master/index.php -O opcache-gui.php

    1. Commit the changes on your code and deploy it to have the tools on your environment.
    2. Visit the URL [yourdomain.com]/opcache-gui.php

    You will see a page like this:

    As you can see, there is a option to clear cache

    opcache-gui

    Acquia Products

    • Acquia Cloud Platform
    Avatar
    Fernando Duran
    • February 18, 2021 12:05
    • Facebook
    • Twitter
    • LinkedIn

    Was this article helpful?
    0 out of 0 found this helpful

    Return to top

    Support

    Acquia Support Knowledge Base
    • Submit a Request
    • Contact Support
    • Acquia Support Guide
    • Product Documentation
    • System Status

    About Acquia

    • About Us
    • Leadership
    • Board of directors
    • Newsroom
    • Careers
    • Customers
    • Contact Us
    53 State Street, 10th Floor
    Boston, MA 02109
    United States
    Phone: 888-922-7842
    Map: Google Maps
    View other locations
    • Feeds
    • Legal
    • Security Issue?

    Copyright © 2018 Acquia Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.