{"id":7109,"date":"2014-05-22T05:11:04","date_gmt":"2014-05-22T05:11:04","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/22\/symfony2-change-apc-to-xcache-collection-of-common-programming-errors\/"},"modified":"2014-05-22T05:11:04","modified_gmt":"2014-05-22T05:11:04","slug":"symfony2-change-apc-to-xcache-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/22\/symfony2-change-apc-to-xcache-collection-of-common-programming-errors\/","title":{"rendered":"Symfony2: change APC to xcache-Collection of common programming errors"},"content":{"rendered":"<p>Because a Bug in APC, i had to use another Cache-Drive. I removed APC and installed xcache. config.php says <em>Your configuration looks good to run Symfony<\/em>.<\/p>\n<p>I got the following error on request:<\/p>\n<pre><code>PHP Fatal error:  Uncaught exception 'RuntimeException' with message 'Unable to use ApcClassLoader as APC is not enabled.' in \/var\/...\/app\/bootstrap.php.cache:1039\nStack trace:\n#0 \/var\/...\/web\/app.php(11): Symfony\\\\Component\\\\ClassLoader\\\\ApcClassLoader-&gt;__construct('sf2', Object(Composer\\\\Autoload\\\\ClassLoader))\n#1 {main}\nthrown in \/var\/...app\/bootstrap.php.cache on line 1039\n<\/code><\/pre>\n<p>How do I tell Symfony to use xcache instead of APC?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Because a Bug in APC, i had to use another Cache-Drive. I removed APC and installed xcache. config.php says Your configuration looks good to run Symfony. I got the following error on request: PHP Fatal error: Uncaught exception &#8216;RuntimeException&#8217; with message &#8216;Unable to use ApcClassLoader as APC is not enabled.&#8217; in \/var\/&#8230;\/app\/bootstrap.php.cache:1039 Stack trace: #0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7109","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7109"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7109\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}