{"id":7122,"date":"2014-05-23T09:14:13","date_gmt":"2014-05-23T09:14:13","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/23\/problem-about-xcache-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:49:29","modified_gmt":"2022-08-30T15:49:29","slug":"problem-about-xcache-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/23\/problem-about-xcache-collection-of-common-programming-errors\/","title":{"rendered":"problem about xcache-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ff41349d4964f1d1e8edafaefbd136a6?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSoroush Falahati<br \/>\nphp linux apache2 apc xcache<br \/>\nFirst I had xCache installed on server, I had xCache on lot of my servers but in this one after couple of days you go nothing except a blank page with this error in apache error log:child pid XXXXX exit signal Segmentation faultAs far as I know this mean some sort of memory corruption.So I removed xCache from php.ini and installed APC. But things are worse now. After one hour or less\/more server become unresponsive. I can clearly see in my website&#8217;s server-status that there are lot of connection<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a434823d729a7a8ab3fc5cf919d2f441?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSmoky McPot<br \/>\nphp xcache<br \/>\nso i have 64-bit apache with 64-bit php running on 64-bit windows.i&#8217;d like to use xcache php extension. but there is only 32-bit version.can i use that 32-bit xcache with 64-bit php? they are both TS VC11 compiled, the only difference is the bit width.and, if it is possible, won&#8217;t there be any possible crashes because of this difference? like when php pushes a 64-bit integer to xcache -&gt; xcache crashes.. or is there some bit-width transformation between these two?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/pjEYF.jpg?s=32&amp;g=1\" \/><br \/>\nicksde<br \/>\nphp symfony2 symfony-2.1 apc xcache<br \/>\nBecause 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 \/var\/&#8230;\/web\/app.php(11): Symfony\\\\Component\\\\ClassLoader\\\\ApcClassLoader-&gt;__construct(&#8216;sf2&#8217;, Object(Composer\\\\Autoload\\\\ClassL<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/07123541fba3343f9ddb5876595b99a7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlex<br \/>\nphp xcache<br \/>\nHow do I install the XCache extension on Windows + WAMP + PHP 5.3 ?I copied the extension dll in the extensions directory, and added the line in php.ini, then activated it trough the WAMP interface.The extension appears to be active, but I still get this error \ud83d\ude10<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/33a9667e531b60676b0ac3f131e941d7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlex C<br \/>\ncaching memcached apc xcache<br \/>\nAt work, we&#8217;ve recently started designing an application to me &#8220;large scale&#8221; (we&#8217;re engineering for the potential to serve up many millions of hits a day). One of the senior devs and the sysadmin have set up memcache on the server. As I understand it, Memcache will hold query results and certain tables in memory for X amount of time and keep everything hunky dory.A drawback of memcache it seems is that I just can&#8217;t for the life of me manage to set it up on my local dev environment. I&#8217;ve follo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/iGUAK.jpg?s=32&amp;g=1\" \/><br \/>\nScreenack<br \/>\nphp apache shared-hosting opcode xcache<br \/>\nI&#8217;d like to install xcache on a shared hosting account. I&#8217;ve followed the instructions here: http:\/\/xcache.lighttpd.net\/wiki\/InstallFromSource but note the differences:You can not run &#8220;su&#8221; on a shared host, since the make install wants to move the xcache.* files to a shared module directory. You can, however, copy the xcache.* files into a directory on your account and tell php.ini to use that libraryThe problem I&#8217;m having is the following php error:[30-Jan-2013 04:35:52 America\/Denver] PHP Warn<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b6116ac3c4b5835c6745570ea73a85c1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nCharles<br \/>\nphp xcache zend-optimizer<br \/>\ni have installed xCache and Zend optimizer in same time and it gives me PHP Fatal error: [Zend Optimizer] Zend Optimizer 3.3.3 is incompatible with XCache 1.2.1 in Unknown on line 0I have lines in installation document that i should include zend php.ini file to normal php.ini and ansure that xCache runs befor Zend Optimizer.My question is how i include files in php.ini and how i can be sure that xCache run before Zend Optimizer?<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n<p>I discovery a place to host code\u3001demo\u3001 blog and websites.<br \/>\nSite access is fast but not money<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.m5zn.com\/newuploads\/2014\/01\/30\/jpg\/e7da807964b1fff.jpg\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Soroush Falahati php linux apache2 apc xcache First I had xCache installed on server, I had xCache on lot of my servers but in this one after couple of days you go nothing except a blank page with this error in apache error log:child pid XXXXX exit signal Segmentation faultAs far as I know this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,1],"tags":[],"class_list":["post-7122","post","type-post","status-publish","format-standard","hentry","category-php-memcached","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7122","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=7122"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7122\/revisions"}],"predecessor-version":[{"id":8999,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7122\/revisions\/8999"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}