configuring wp-cache to work with apc

By admin • Apr 23rd, 2008 • Category: Uncategorized

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Having issues getting wp-cache and apc to play nice? So was mark, luckily he found the answer so I can link to him

APC (Alternative PHP Cache) is great for WordPress. It caches the
compiled WordPress PHP files and greatly speeds up subsequent loads. I
even wrote a WordPress plugin to make WordPress store its objects in
APC instead of in the default file-based object cache.

WP-Cache2 is also great for WordPress, because it caches the HTML output of WordPress for a specified period.

So if both are good, together they should be awesome, right? Well…
in theory, yes. Unfortunately, I’ve been having a heck of a time
getting them to play together. What would happen was that pages would
start showing up blank. Just a white page. Real helpful. The same thing
happened when you tried to access /wp-admin/ The only way to fix it was to delete WP-Cache2. In desperation, I removed all the error-silencing @ from WP-Cache2. Ah. It was some problem with class_exists() and APC. Apparently, APC doesn’t play well with class_exists().

Adventures with WP-Cache2 & APC « Mark on WordPress

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
Tagged as: ,

admin is
Email this author | All posts by admin

Leave a Reply