How to check if xcache is installed?

Discussion in 'PHP' started by xrvel, Jan 21, 2015.

  1. #1
    How to check in PHP whether xcache is installed or not, other than using phpinfo?

    If checking APC, i can use this one
    
    $apc_installed = function_exists('apc_add');
    
    PHP:
    I don't see xcache has a specific php function.

    Edit:
    nvm, I can use this one :D

    $check = extension_loaded('xcache');
    PHP:
     
    xrvel, Jan 21, 2015 IP