View Single Post
  #17  
Old 20th September 2011, 21:08
enoeda enoeda is offline
Member
 
Join Date: Oct 2009
P2P
Posts: 10
Default
did so, still nothing

PHP Code:
<?php

class backendConfiguration extends sfApplicationConfiguration
{
  public function 
configure()
  {
  }
  public function 
configureDoctrine(Doctrine_Manager $manager) {

    
$servers = array(
        
'host' => 'localhost',
        
'port' => 11211,
        
'persistent' => true
    
);


    
$cacheDriver = new Doctrine_Cache_Memcache(array(
        
'servers' => $servers,
        
'compression' => true
        
)
    );
    
//enable Doctrine cache
    
$manager Doctrine_Manager::getInstance();
    
$manager->setAttribute(Doctrine::ATTR_QUERY_CACHE$cacheDriver);
    
$manager->setAttribute(Doctrine::ATTR_RESULT_CACHE$cacheDriver);
    
$manager->setAttribute(Doctrine::ATTR_RESULT_CACHE_LIFESPAN30);
  }
port 11211?

im using xampp, does it matter?

I have a backendConfiguration.class.php but no backend.php
The Following User Says Thank You to enoeda For This Useful Post:
BamBam0077 (1st June 2022)