It's not the end of the world though, there are still options like Memcache, IPCS or APC that you can use for such. Also, so your CLI doesn't show any error messages, prevent it from being used by checking it's SAPI name.
if (function_exists('xcache_get') && php_sapi_name() != 'cli') {
//xcache_get
//xcache_set
}
No comments:
Post a Comment