.

contributions/cache.memcache/install/check_preconditions.php File Reference

Go to the source code of this file.

Functions

  cache_memcache_check_preconditions ()
  Check if memcache or memcached are installed.

Function Documentation

cache_memcache_check_preconditions (  ) 

Check if memcache or memcached are installed.

Definition at line 5 of file check_preconditions.php.

00005                                               {
00006         $ret = new Status();
00007         if (!class_exists('Memcache') && !class_exists('Memcached')) {
00008                 $ret->append('Memcache or Memcached are not installed, please install the according PECL extensions: http://pecl.php.net/package/memcached, http://pecl.php.net/package/memcache');
00009         }
00010         return $ret;
00011 }