Sponsored Community Message Browse Free. Go deeper with Full Access. Free visitors can browse public knowledge. Full Access unlocks participation, member areas, and an ad-free experience.

How do I enable memcached within vBulletin and SMF?-gctid52677

Started by Ɔbenfo Ọbádélé, Jul 16, 2012, 11:54 PM

Previous topic - Next topic
How do I enable memcached within vBulletin and SMF?                                                                                                                  Art. Nr: 703  |  Rating: 4/5 from 575 votes  |   Last Updated: Mon, Oct 31, 2011                                                                                        

Available from: How do I enable memcached within vBulletin and SMF?

Memcached is  an application, which is used to cache the results of web applications  such as vBulletin, SMF (Simple Machines Forum) and others. By caching  the results within memory, the requests for information are served  quicker, rather than going to the hard drive to pull the information.  Below, we've outlined how to enable memcached on vBulletin and SMF.
 How to enable memcached on vBulletin:
 Enabling memcached on vBulletin is quite easy, simply follow the  below mentioned steps and you should have memcached enabled within only a  few minutes. Please follow the steps below:
 
'"
    n".self::process_list_items("'.str_replace('
    ', '', '
  • Login to your cPanel web hosting account via FTP
  • Navigate to your vBulletin installation directory
  • Then switch directories to the /includes/ folder
  • From there, locate and open the "config.php" file
  • Locate the following section within the "config.php" file:                  /*$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;
*/
[/i]
  • Uncomment the code by removing the "/*" and "*/"
  • Then update the configuration as needed per your requirements
  • Save, and re-upload the file
').'")."n[/list]"'
 How to enable memcached on SMF:
 When it comes to enabling memcached on your SMF the process is not  very complicated, it's much like the way it was on vBulletin. However,  it can be done via the web interface rather than within a configuration  file.
 
'"
    n".self::process_list_items("'.str_replace('
    ', '', '
  • Login to your SMF as the administrator
  • Locate and click on "Forum Configuration" and then on "Edit Server Settings"
  • From there, click on "Caching" and select "Level 1 Caching"
  • For the memcached settings, please type "127.0.0.1:11211"
  • Save the configuration to enable caching!
').'")."n[/list]"'
 If you have any further questions pertaining to memcached, please  feel free to get in contact with our web hosting support team for  further assistance.
__________

Ọbádélé Kambon, PhD
Nana Kwame Pɛbi Date I, Ban mu Kyidɔmhene, Akuapem Mampɔn
Senior Research Fellow & Research Coordinator - Language, Literature and Drama Section
Institute of Kmtyw Studies - College of Humanities
Editor-in-Chief - Ghana Journal of Linguistics
Secretary (2015-2020) - Kmtyw Studies Association of Kmt
+233249195150 / +19192836824 | me@obadelekambon.com
www.obadelekambon.com | www.abibitumi.com
Room 115 IAS Kwame Nkrumah Complex
University of Ghana - Legon
Alternate Email: obkambon@staff.ug.edu.gh



Ọbádélé Kambon App



Abibitumi.com App