Title: Memcache, multi install, same server.
Last modified: December 6, 2016

---

# Memcache, multi install, same server.

 *  [mdsmash](https://wordpress.org/support/users/mdsmash/)
 * (@mdsmash)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/memcache-multi-install-same-server/)
 * Is it possible to have different installs of WordPress use 1 Memcache server.
   Will we get any collisions if so is it possible to change any key prefix’s to
   avoid this.
 * I’ve noticed a few other topics of a similar question, without any answers. Please
   could you help anyone??
 * Thank you.
    -  This topic was modified 9 years, 6 months ago by [mdsmash](https://wordpress.org/support/users/mdsmash/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [peteradams222](https://wordpress.org/support/users/peteradams222/)
 * (@peteradams222)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/memcache-multi-install-same-server/#post-8530933)
 * Actually have the same question. Looked for many topics – no answer =(
 *  [stephenmahood](https://wordpress.org/support/users/stephenmahood/)
 * (@stephenmahood)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/memcache-multi-install-same-server/#post-8536599)
 * Hi Folks,
 * This is possible, you can set the cache key to be unique based on the DB_NAME
   by adding the following code the wp-config.php
 * `define('WP_CACHE_KEY_SALT', md5(DB_NAME . __FILE__));`
 * Cheers
 * Stephen

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Memcache, multi install, same server.’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [stephenmahood](https://wordpress.org/support/users/stephenmahood/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/memcache-multi-install-same-server/#post-8536599)
 * Status: not resolved