Title: Memcached setup
Last modified: January 16, 2018

---

# Memcached setup

 *  [Adam Bissonnette](https://wordpress.org/support/users/mmanifesto/)
 * (@mmanifesto)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/memcached-setup-2/)
 * Is there a guide on how to setup memcached for multiple servers that do not allow
   file system access? W3 Total Cache can’t write to any of the directories so it
   fails to create the master config file – is there a way to create that master
   config file through the db or a remote url then test and then build the static
   file once happy with the settings?

Viewing 1 replies (of 1 total)

 *  Thread Starter [Adam Bissonnette](https://wordpress.org/support/users/mmanifesto/)
 * (@mmanifesto)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/memcached-setup-2/#post-9874387)
 * Continuing to work on setting this up in AppEngine with little luck.
 * I had to make a couple modifications to the plugin files – I have setSaslAuthData
   available but phpinfo is locked down so this expression fails in numerous places
   throughout Util_Installed.php:
    `( method_exists( $o, 'setSaslAuthData' ) && 
   ini_get( 'memcached.use_sasl' ) );`
 * This bypassed allows me to store my auth credentials.
 * Also my Memcached server via redis requires the following line added in Cache_Memcached.
   php:
    `$this->_memcache->setOption(\Memcached::OPT_BINARY_PROTOCOL, true);`
 * This fixes server errors when trying add / set properties.
 * Unfortunately with all the config added and server errors out of the way I’m 
   still getting errors from w3 total cache saying that the connection isn’t working
   but doesn’t provide logs or a reason with what’s wrong (invalid server? bad credentials?
   no reason)
 * Any pointers would be greatly appreciated.

Viewing 1 replies (of 1 total)

The topic ‘Memcached setup’ 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/)

 * 1 reply
 * 1 participant
 * Last reply from: [Adam Bissonnette](https://wordpress.org/support/users/mmanifesto/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/memcached-setup-2/#post-9874387)
 * Status: not resolved