<?php // phpFastCache Library require_once dirname(__FILE__) . "/phpfastcache/2.4.2/base.php"; // OK, setup your cache phpFastCache::$storage = "files"; //memcache phpFastCache::$config = array("storage" => phpFastCache::$storage, "fallback" => "files", "securityKey" => "auto", "htaccess" => true, "path" => "", "memcached" => array(array("127.0.0.1", 11211, 1)), "memcache" => array(array("127.0.0.1", 11211, 1)), "server" => array(array("127.0.0.1", 11211, 1)), "redis" => array("host" => "127.0.0.1", "port" => "", "password" => "", "database" => "", "timeout" => ""), "extensions" => array()); phpFastCache::setup(phpFastCache::$config); // temporary disabled phpFastCache phpFastCache::$disabled = false; // default chmod | only change if you know what you are doing phpFastCache::$default_chmod = ""; // keep it blank, it will use 666 for module and 644 for cgi