Title: [Plugin: W3 Total Cache] xCache Support
Last modified: August 19, 2016

---

# [Plugin: W3 Total Cache] xCache Support

 *  [abfinteractive](https://wordpress.org/support/users/abfinteractive/)
 * (@abfinteractive)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/)
 * Hi,
 * Is there a reason APC is the only supported OPCode cache? I, along with many 
   people, prefer to use xCache and would love to see xCache support built in.
 * Thank you.

Viewing 15 replies - 1 through 15 (of 29 total)

1 [2](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/page/2/?output_format=md)

 *  [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1395843)
 * The reason is stability. Also on the operating systems tested, APC was faster(
   for WordPress) by a small percentage. Furthermore APC will be part of PHP6 making
   the need for other opcode cache’s quite a moot point.
 *  Thread Starter [abfinteractive](https://wordpress.org/support/users/abfinteractive/)
 * (@abfinteractive)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1395972)
 * APC leaves a lot to be desired such as a basic way to turn it off via .htaccess.
   I don’t need things I rarely use and get no traffic to (such as phpmyadmin or
   other tools that I only use) to be cached, ever. xCache easily gives you the 
   ability to exclude these via a php flag in an .htaccess file.
 * I’m not sure what you mean by stability either. It’s just as stable as APC.
 *  [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1395977)
 * Mileage varies as do preferences, my comments are based on my research, experience
   and very large WordPress deployments. I’m not really interested in debates about
   opcode caches, use whatever you prefer.
 *  [Gilligan](https://wordpress.org/support/users/playgod/)
 * (@playgod)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396138)
 * Xcache is obviously now supported, but I thought I’d add some info. I have found
   that in my environment (Virtualmin on CentOS with Xcache, PHP running as user
   in FCGID), what works best is to use Xcache for the database and object cache,
   and disk for the minify and page cache.
 * This is because Xcache does not really support much administration (flush) except
   when running mod_php as user apache. I burned a lot of time trying to get it 
   to work to run xcache for all caches, which is very very fast, but the need to
   constantly flush the page and minify caches was difficult, especially when lots
   of admin area users are involved.
 * You won’t see the FCGID processes in the Xcache admin pages, but believe me the
   database and object stuff does get cached although it does not show up. I have
   similar experience with Joomla in the same environment and xcache does indeed
   cache the db queries and objects.
 *  [Chris Olbekson](https://wordpress.org/support/users/c3mdigital/)
 * (@c3mdigital)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396139)
 * [@playgod](https://wordpress.org/support/users/playgod/)
 * Agreed except that I have found better performance using Xcache for minify over
   disk.
 * I am running PHP as Apache (DSO) with disk enhanced for page caching and Xcache
   for minify, database and object and getting fantastic results.
 *  [Gilligan](https://wordpress.org/support/users/playgod/)
 * (@playgod)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396140)
 * c3m, Yes Xcache is fully functional only if you run PHP as apache. I haven’t 
   found a way to get w3tc’s admin tasks (empty cache) to work running FCGID, that’s
   why I’m running minify via disk. I have xcache-admin setup properly and can access
   the admin, but w3tc’s login prompt does not work — on my server xcache requires
   https to log into the xcache admin; perhaps if I can modify the plugin to run
   the empty requests as https, it will work.
 * I do run other sites on my server as apache with mod_php, however the tradeoffs
   in convenience and security are not worth it with WordPress, IMO — having to 
   change permissions on upload directories for auto-updates and installs is a hassle.
 * I’m thinking of removing Xcache and installing APC instead, since it will likely
   be better supported.
 * Nonetheless, I am very impressed by the performance gains and ease of use with
   this plugin. Here’s hoping switching to APC will solve my admin issues and allow
   me to cache more in memory vs disk.
 *  [John Robertson](https://wordpress.org/support/users/braddor/)
 * (@braddor)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396141)
 * APC and Xcache have proven to be pretty comparable in terms of benchmarking, 
   sometimes with Xcache beating APC, but it proves to be more unstable than APC,
   so results may fluctuate here and there. APC is the best alternative as Frederick
   said… due to PHP6 support. However, Ive been seeing that APC and specific modules
   like suphp can actually cause a decrease in performance. a better setup would
   be using php-fpm or php-fcgi with APC.
 *  [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396142)
 * > I have xcache-admin setup properly and can access the admin, but w3tc’s login
   > prompt does not work
 * That’s not what’s happening. When admin password for xcache cache is empty, there
   will be a prompt when trying to empty cache. That’s how xcache works, it has 
   nothing to do with W3TC.
 *  [Gilligan](https://wordpress.org/support/users/playgod/)
 * (@playgod)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396143)
 * Thanks braddor, I’ve since switched to APC for my server and all is running well.
 * Frederick, APC is working better than xcache. Thanks for this plugin!
 *  [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396144)
 * Welcome.
 *  [mikanett](https://wordpress.org/support/users/minhmeo/)
 * (@minhmeo)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396145)
 * very useful topic! thanks all!
 * my wordpress blog has 8k visitors/day, 100-200 online at the same time
 * after reading this topic, i uninstall xcache and install APC
 * so now i need to change all from xcache to apc right, is it better?
 *  [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396150)
 * If you have a single server, use disk enhanced for page cache, disk for minify
   and you can try APC for object cache and database cache and see if those improve
   performance for your case.
 *  [gravitydk](https://wordpress.org/support/users/gravitydk/)
 * (@gravitydk)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396153)
 * I found W3 Total Cache asking me for the xcache Administration password, too,
   but even if I entered it correctly, it was not accepted. Most odd.
    It did seem
   related to minify and page cache too. I have not isolated it yet, though.
 * I’m using CGI as the PHP Handler (not DSO, not FCGI); I think this is part of
   the problem. I can’t clear the W3 Total Cache, because xcache administration 
   wants me to authenticate, and when I put in the credentials, it doesn’t seem 
   to make any difference.
 *  [Chris Olbekson](https://wordpress.org/support/users/c3mdigital/)
 * (@c3mdigital)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396154)
 * [@gravitydk](https://wordpress.org/support/users/gravitydk/) The xcache admin
   username and password are required for W3 to clear the cache. Make sure you are
   using a md5 hash string for your password in the xcache.ini.
 *  [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/#post-1396155)
 * [@c3mdigital](https://wordpress.org/support/users/c3mdigital/) is correct, this
   has nothing to do with W3TC itself actually. BTW, I think there is a directive
   to disable the need for administrative authentication for xcache.

Viewing 15 replies - 1 through 15 (of 29 total)

1 [2](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/page/2/?output_format=md)

The topic ‘[Plugin: W3 Total Cache] xCache Support’ is closed to new replies.

 * 29 replies
 * 9 participants
 * Last reply from: [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-xcache-support/page/2/#post-1396175)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
