Forum Moderators: open

Message Too Old, No Replies

xCache and Wordpress: PHP frozen. Solution?

Using xCache with Wordpress seems to be causing PHP to freeze.

         

Cyrus255

8:07 pm on Nov 26, 2009 (gmt 0)

10+ Year Member



After installing xcache in wordpress, my php has frozen up.

It's weird, if I change the HTML of the sidebars, footer, etc. they update properly. But if I change the PHP code, it's not updating. Nor are my active php codes that need info to update (like displaying recent posts, or rotating ads) those don't change.

It's like xcache has frozen the PHP somehow but not everything else. Does anyone know what my problem is and what the solution is?

londrum

8:13 pm on Nov 26, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



is it caching the html output? if it's just serving an already stored html page, then the php code will never get called.

Cyrus255

3:48 am on Nov 27, 2009 (gmt 0)

10+ Year Member



No, the weird thing is it's not caching the html I don't think. If I change the HTML, it shows up. The only thing that doesn't change is PHP. If I add HTML code, it shows up. If I add PHP code, it doesn't show up (nor does the old PHP code, like recent posts, update).

Cyrus255

5:58 am on Nov 27, 2009 (gmt 0)

10+ Year Member



I may have gotten closer to what the problem is. If I change the code (like turn <?php thestring ?> to <?php thestring2 ?> it changes and updates properly. The problem is that if I clear it from cache it doesn't update (like a rotating ad, or a recent posts section) and that I want the php part of my cache to update from time to time for obvious reasons (the html part updates just fine).