Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
alexp999 Posted February 26, 2011 Posted February 26, 2011 I want to setup memcached for IPB, but am a little unsure of exactly what I need to install to get it working. Obviously I need the basic "memcached" package to get the service running, but does IPB need anything else? One of the two php extensions? Memcache, or Memcached? Or perhaps another extension or package, Thanks.
Robulosity2 Posted February 26, 2011 Posted February 26, 2011 Not sure if this is still the case, but as long as Memcache(memached) is running you just need to add the following (uncommented obviously) to conf_global.php and change the values to your own needs # $INFO['use_memcache'] = '1'; # $INFO['memcache_server_1'] = 'localhost'; # $INFO['memcache_port_1'] = '11211'; Also there's a general doc here for ithttp://community.invisionpower.com/resources/documentation/index.html/_/tutorials/large-communities/using-alternate-cache-storage-r169
alexp999 Posted February 26, 2011 Author Posted February 26, 2011 Thanks, yeah I found the documentation on it, but I just wasnt sure if ipb was capable of directly connecting to the memcached server, or if it needed a php extension to do so. Thanks.
Solo Drakban Posted March 1, 2011 Posted March 1, 2011 You need to install the PECL extention 'memcache' (not the memcached extension). Looks like the current stable version is 2.2.6.
alexp999 Posted March 1, 2011 Author Posted March 1, 2011 Thanks for the help guys, I also opened a ticket and they said I should just need the memcached package installed and running, no extensions, etc. Tested like this and it works fine. IPB must have its own support built in to access memcached.
Solo Drakban Posted March 1, 2011 Posted March 1, 2011 Odd, maybe it's compiled into your distribution or already loaded. Or maybe they changed it in 3.1.0 because with 3.0 if I didn't have memcache installed as an extension it errored out.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.