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 $check = extension_loaded('xcache'); PHP: