TMemCache requires memcache PHP extension.
/var/www/vcvsender/framework/Caching/TMemCache.php (149)
0138: * Initializes this module.
0139: * This method is required by the IModule interface. It makes sure that
0140: * UniquePrefix has been set, creates a Memcache instance and connects
0141: * to the memcache server.
0142: * @param TApplication Prado application, can be null
0143: * @param TXmlElement configuration for this module, can be null
0144: * @throws TConfigurationException if memcache extension is not installed or memcache sever connection fails
0145: */
0146: public function init($config)
0147: {
0148: if(!extension_loaded('memcache'))
0149: throw new TConfigurationException('memcache_extension_required');
0150: $this->_cache=new Memcache;
0151: $this->loadConfig($config);
0152: if(count($this->_servers))
0153: {
0154: foreach($this->_servers as $server)
0155: {
0156: Prado::trace('Adding server '.$server['Host'].' from serverlist', 'System.Caching.TMemCache');
0157: if($this->_cache->addServer($server['Host'],$server['Port'],$server['Persistent'],
0158: $server['Weight'],$server['Timeout'],$server['RetryInterval'])===false)
0159: throw new TConfigurationException('memcache_connection_failed',$server['Host'],$server['Port']);
0160: }
0161: }
#0 /var/www/vcvsender/framework/TApplication.php(905): TMemCache->init(Object(TXmlElement))
#1 /var/www/vcvsender/framework/TApplication.php(952): TApplication->applyConfiguration(Object(TApplicationConfiguration), false)
#2 /var/www/vcvsender/framework/TApplication.php(370): TApplication->initApplication()
#3 /var/www/vcvsender/public/index.php(23): TApplication->run()
#4 {main}