kuntur
03-04-2014, 11:12 PM
I will appreciate if someone could help me. I have XCache installed on a dedicated server
GenuineIntel, Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
CentOS 6.5
mysql 5.5.36-21
php 5.4.25-31
I am upgrading from vB 4.2.2 to vB 5.0.5 and I would like to know if the following settings in my core config.php are correct
// ****** CACHE CONFIGURATION *****
// Here you can configure different methods for caching items.
// The following are the cacheing classes that can be used.
// vB_Cache_Db - This setting stores the data in the database
// vB_Cache_APC - This setting stores the data in APC
// vB_Cache_Memcached - This stores the data in memcache
// vB_Cache_Memory - This setting uses php's memory while a page is being generated.
// Each cache area can use its own cache type.
$config['Cache']['class'][0] = 'vB_Cache_XCache'; //regular cache
$config['Cache']['class'][1] = 'vB_Cache_Memory'; //fastest cache
$config['Cache']['class'][2] = 'vB_Cache_Db'; //largest cache and longest life.
// Cache options are
// vB_Cache_Memory fastest but doesn't survive a page load.
// vB_Cache_Db significant speed improvement and available to everyone.
// vB_Cache_Filesystem good performance, reduces traffic and load on db server. Not available to everyone-
// your web server must be able to write to the file system.
// vB_Cache_Memcached excellent performance but usually only available to dedicated or virtual hosted sites.
// vB_Cache_APC excellent performance but only available to those with APC installed, and on a single web server.
// vB_Cache_XCache excellent performance but only available to those with XCache installed, and on a single web server.
// ******** FILESYSTEM CACHE CONFIGURATION ******
//If you use filesystem cache you MUST uncomment the line below.
//set the path to somewher writeable by the web server process. This location must already exist. Please put
// this somewhere outside the document root. Otherwise you have just created a serious security issue.
//Don't include the final '/'
//$config['Cache']['fileCachePath'] = '/valid/writeable/for/my/webserver';
// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// You may need to clear this cache after installing/upgrading. You can do this either
// in the control panel (Maintenance) or by restarting the web server.
// vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
// vB_Datastore_APC - to use APC
// vB_Datastore_XCache - to use XCache
// vB_Datastore_WinCache - to use WinCache
// vB_Datastore_Memcached - to use a Memcache server, more configuration below
$config['Datastore']['class'] = 'vB_Datastore_XCache';
//if you use Filecache you can accept the default location, or better
// to uncomment the next line and set a location
// $config['Misc']['datastorepath'] = '/valid/writeable/for/my/webserver';
// or if you have set $config['Cache']['fileCachePath' above you can do nothing and
// it will use that location.
// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator, WinCache) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
$config['Datastore']['prefix'] = 'DP1_';
GenuineIntel, Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
CentOS 6.5
mysql 5.5.36-21
php 5.4.25-31
I am upgrading from vB 4.2.2 to vB 5.0.5 and I would like to know if the following settings in my core config.php are correct
// ****** CACHE CONFIGURATION *****
// Here you can configure different methods for caching items.
// The following are the cacheing classes that can be used.
// vB_Cache_Db - This setting stores the data in the database
// vB_Cache_APC - This setting stores the data in APC
// vB_Cache_Memcached - This stores the data in memcache
// vB_Cache_Memory - This setting uses php's memory while a page is being generated.
// Each cache area can use its own cache type.
$config['Cache']['class'][0] = 'vB_Cache_XCache'; //regular cache
$config['Cache']['class'][1] = 'vB_Cache_Memory'; //fastest cache
$config['Cache']['class'][2] = 'vB_Cache_Db'; //largest cache and longest life.
// Cache options are
// vB_Cache_Memory fastest but doesn't survive a page load.
// vB_Cache_Db significant speed improvement and available to everyone.
// vB_Cache_Filesystem good performance, reduces traffic and load on db server. Not available to everyone-
// your web server must be able to write to the file system.
// vB_Cache_Memcached excellent performance but usually only available to dedicated or virtual hosted sites.
// vB_Cache_APC excellent performance but only available to those with APC installed, and on a single web server.
// vB_Cache_XCache excellent performance but only available to those with XCache installed, and on a single web server.
// ******** FILESYSTEM CACHE CONFIGURATION ******
//If you use filesystem cache you MUST uncomment the line below.
//set the path to somewher writeable by the web server process. This location must already exist. Please put
// this somewhere outside the document root. Otherwise you have just created a serious security issue.
//Don't include the final '/'
//$config['Cache']['fileCachePath'] = '/valid/writeable/for/my/webserver';
// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// You may need to clear this cache after installing/upgrading. You can do this either
// in the control panel (Maintenance) or by restarting the web server.
// vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
// vB_Datastore_APC - to use APC
// vB_Datastore_XCache - to use XCache
// vB_Datastore_WinCache - to use WinCache
// vB_Datastore_Memcached - to use a Memcache server, more configuration below
$config['Datastore']['class'] = 'vB_Datastore_XCache';
//if you use Filecache you can accept the default location, or better
// to uncomment the next line and set a location
// $config['Misc']['datastorepath'] = '/valid/writeable/for/my/webserver';
// or if you have set $config['Cache']['fileCachePath' above you can do nothing and
// it will use that location.
// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator, WinCache) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
$config['Datastore']['prefix'] = 'DP1_';