{"id":762,"date":"2011-11-03T13:34:18","date_gmt":"2011-11-03T05:34:18","guid":{"rendered":"http:\/\/www.computersolutions.cn\/blog\/?p=762"},"modified":"2011-11-03T13:34:18","modified_gmt":"2011-11-03T05:34:18","slug":"how-to-disable-xcache-per-domain","status":"publish","type":"post","link":"https:\/\/www.computersolutions.cn\/blog\/2011\/11\/how-to-disable-xcache-per-domain\/","title":{"rendered":"How to disable XCache per domain"},"content":{"rendered":"<p>We use xcache as a php caching mechanism on our servers.<br \/>\nIts pretty painless for us for the most part.<\/p>\n<p>One of our clients did complain that their app was now crapping out.<\/p>\n<p>A check of the software forums for that app (ActiveCollab) showed that it was an issue with PHP5.3.2 and XCache and ActiveCollab.<br \/>\nSo, needed to disable Xcache.<\/p>\n<p>This should be relatively easy I thought, but the documentation sucks, so took a while to find out how.<br \/>\nIts pretty simple to do though.<\/p>\n<p>Assuming you&#8217;ve allowed htaccess files in apache, you can do the below &#8211;<\/p>\n<p>Add an htaccess file in the root folder of the website with the following info<\/p>\n<pre>\r\nphp_flag xcache.cacher Off\r\nphp_flag xcache.size 0\r\nphp_flag xcache.stat Off\r\n<\/pre>\n<p>Thats it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We use xcache as a php caching mechanism on our servers. Its pretty painless for us for the most part. One of our clients did complain that their app was now crapping out. A check of the software forums for that app (ActiveCollab) showed that it was an issue with PHP5.3.2 and XCache and ActiveCollab. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[25,4],"tags":[],"class_list":["post-762","post","type-post","status-publish","format-standard","hentry","category-technical-mumbo-jumbo","category-useful-info"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/posts\/762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/comments?post=762"}],"version-history":[{"count":1,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/posts\/762\/revisions"}],"predecessor-version":[{"id":763,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/posts\/762\/revisions\/763"}],"wp:attachment":[{"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/media?parent=762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/categories?post=762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.computersolutions.cn\/blog\/wp-json\/wp\/v2\/tags?post=762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}