https://t.me/RX1948
Server : Apache
System : Linux s1230 5.15.0-139-generic #149~20.04.1 SMP Tue Jul 14 11:21:49 UTC 2026 x86_64
User : p141464 ( 418825)
PHP Version : 7.4.33.12
Disable Function : NONE
Directory :  /usr/local/chroot/lib/sailfish/fpm/control/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/chroot/lib/sailfish/fpm/control/cache_stats.php
<?php

$stats = array(
    'opcache' => array('enabled' => FALSE),
    'apcu' => array('enabled' => FALSE)
);

// check if opcache is loaded
if (extension_loaded('Zend OPcache'))
{
    // check if opcache is enabled
    if (ini_get('opcache.enable'))
    {
        $stats['opcache']['status'] = opcache_get_status(FALSE);
        $stats['opcache']['config'] = opcache_get_configuration();
        $stats['opcache']['enabled'] = TRUE;
    }
}

// check if apcu is loaded
if (extension_loaded('apcu'))
{
    // check if apcu is enabled
    if (ini_get('apc.enabled'))
    {
        $stats['apcu']['cache'] = apcu_cache_info(TRUE);
        $stats['apcu']['sma'] = apcu_sma_info(TRUE);
        $stats['apcu']['enabled'] = TRUE;
    }
}


echo json_encode($stats);

https://t.me/RX1948 - 2025