wrx1
Active member
I am currently running 2 linode 512 vps servers. 1 for the web side and the other for the DB server. My current config file looks like this.
This worked while running 1.0.4, but now with the upgrade to 1.1b3, the memcache was throwing fatal errors. Unfortunately, I didn't copy down the errors.
So really, my main question is, does this all look right?? I am going to install memcache on my test site and re-enable memcache to see if I can re-create what was happening. It just seems a bit off that it worked in 1.0.4, but now with beta 3 it doesn't work. I currently have memcache off and apc running just fine on my live site, so it is definitely something with my memcache settings.
I should also state that APC is installed on the web server and memcached is installed on the DB server.
Thanks
Russ
Code:
<?php
$config['db']['host'] = 'path/to/DB/server';
$config['db']['port'] = '3306';
$config['db']['username'] = 'xxxxxxxx';
$config['db']['password'] = 'xxxxxxxxxxx';
$config['db']['dbname'] = 'xenforo';
$config['superAdmins'] = '1';
##memcache on DB server
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array('caching' => true,
'automatic_serialization' => true,
'lifetime' => 5400
);
$config['cache']['backend'] = 'Memcached';
$config['cache']['backendOptions'] = array(
'backendOptions'=>array(
'servers' =>array(
array(
'host' => 'path/to/DB/server', // your memcached server ip /address
'port' => 11211 // memcached port
)
),
'compression' => false
)
);
##APC on webserver
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array(
'caching' => true,
'automatic_serialization' => true,
'lifetime' => 5400,
'cache_id_prefix' => 'foro'
);
$config['cache']['backend'] = 'Apc';
This worked while running 1.0.4, but now with the upgrade to 1.1b3, the memcache was throwing fatal errors. Unfortunately, I didn't copy down the errors.
So really, my main question is, does this all look right?? I am going to install memcache on my test site and re-enable memcache to see if I can re-create what was happening. It just seems a bit off that it worked in 1.0.4, but now with beta 3 it doesn't work. I currently have memcache off and apc running just fine on my live site, so it is definitely something with my memcache settings.
I should also state that APC is installed on the web server and memcached is installed on the DB server.
Thanks
Russ