[TYPO3-project-4-3] memcached
    Steffen Kamper 
    info at sk-typo3.de
       
    Fri May  8 10:54:38 CEST 2009
    
    
  
Hi,
Dmitry Dulepov schrieb:
> Hi!
> 
> Steffen Kamper wrote:
>> could you check if this tests are sufficient?
> 
> I would use a procedural API for memcached. It is a little easier:
> 
> ======================
> $memcacheConnect = false;
> if (function_exists('memcache_connect')) {
> 	$memcache_obj = memcache_connect('memcache_host', 11211);
> 	if ($obj != null) {
> 		$memcacheConnect = true;
> 		memcache_close($memcache_obj);
> 	}
> }
> ======================
> 
> 
thx. For memcache_host what should be used, 127.0.0.1 / localhost or are 
other hosts possible?
vg Steffen
    
    
More information about the TYPO3-project-4-3
mailing list