Step 1: In config/main.php, add following element to "components" array 'cache'=>array( 'class'=>'system.caching.CApcCache', ), Step2: In config/main.php, add following element to " components[‘db’] " array 'schemaCachingDuration' => 3600 Step 3: Comment out the following line of index.php defined('YII_DEBUG') or […]