PHP code example of jorgenevens / php-cache-dashboard

1. Go to this page and download the library: Download jorgenevens/php-cache-dashboard library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jorgenevens / php-cache-dashboard example snippets



// Enable APC
define('ENABLE_APC', true);

// Disable APC
define('ENABLE_APC', false);


// Enable OPcache
define('ENABLE_OPCACHE', true);

// Disable OPcache
define('ENABLE_OPCACHE', false);


// Enable Realpath
define('ENABLE_REALPATH', true);

// Disable Realpath
define('ENABLE_REALPATH', false);


// Enable Redis
define('ENABLE_REDIS', true);

// Disable Redis
define('ENABLE_REDIS', false);