Questions tagged [xcache]

XCache is an open-source PHP opcode cacher, meaning that it accelerates the performance of PHP on servers.

XCache is a open-source PHP opcode cacher, which means that it accelerates the performance of PHP on servers. It optimizes performance by removing the compilation time of PHP scripts by caching the compiled state of PHP scripts into the shm (RAM) and uses the compiled version straight from the RAM. This will increase the rate of page generation time by up to five times as it also optimizes many other aspects of PHP scripts and reduce server load.

The XCache project is lead by mOo who is also a developer of Lighttpd.

86 questions
1
vote
2 answers

What is the best cacher for drupal (Boost, xcache or varnish)?

What is the best caching method (cacher) for Drupal, taking in consideration logged in and anonymous users? is it Boost, XCache,or Varnish? I need a comparison between them.
Alaa
  • 4,471
  • 11
  • 50
  • 67
1
vote
1 answer

How to check if xcache is installed properly?

I've installed xcache on a LEMP setting using the following commands: cd /usr/local/src && wget https://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz && tar -xzf xcache-3.2.0.tar.gz && cd xcache-3.2.0 phpize && ./configure…
LittleLebowski
  • 7,691
  • 13
  • 47
  • 72
1
vote
1 answer

XCache lost value after some time

I'm a newbie with XCache and I'm trying to use this feature for have an editable configuration over the air in my application. So I need to store some data, for doing this I did: class Settings { private $_config = array(); function…
user3287550
  • 363
  • 4
  • 12
1
vote
2 answers

PHP performance: accelerators and HTTP servers

First, which is the fastest accelerator: XCache or APC? And should I have nginx, lighttpd, Apache or Apache with nginx as a reverse proxy for static contents. What's better? Thank you.
seriousdev
  • 7,519
  • 8
  • 45
  • 52
1
vote
1 answer

Expiring links and where to store them

I currently have a website setup where unique links are generated every time a person loads a page. When a user follows a link that link should expire. That is, they shouldn't be able to hit back on their browser and click that link again. While I…
noko
  • 1,129
  • 2
  • 14
  • 25
1
vote
0 answers

PHPUnit testing xcache

So as it's know xcache is not working under CLI but still want to test some functionality what is related partially to xcache under symfony2. Having the following snippet //this is a working snippet $key = 'likes'; $cache =…
fefe
  • 8,755
  • 27
  • 104
  • 180
1
vote
0 answers

AWS EC2 Xcache or APC

I am working on AWS EC2 Ubuntu machine and I am not able to enable xcache and APC simultaneously. Whenever I enable xcache , APC will get disable and vice versa. So my question is, How can I enable both of them?
urfusion
  • 5,528
  • 5
  • 50
  • 87
1
vote
1 answer

Symfony2 APCu or XCache

I have question. What's better for symfony2, APCu(PHP 5.6) or XCache? All saying that APC is wrong choice, because it's bugged, etc... I'm so confused ... Thanks
user3703456
1
vote
0 answers

Cakephp Caching using Xcache

I have an issue trying to use cacheengine with Xcache: When I use File Or Memcache, the cache engine works fine, it save datas and read them successfully from cache. When I try to use Xcache, it saves datas (Cache::Write() returns 1) but…
zeflex
  • 1,487
  • 1
  • 14
  • 29
1
vote
1 answer

Troubleshooting Joomla 3.3.4 Cache

This is the first time I've had this problem with Joomla cache on v3.3.4. What issues I'm having is when I enable cache under Joomla configuration either with conservative or progressive caching using "file", "apc" or "memcache" I keep getting the…
Queasy
  • 131
  • 11
1
vote
0 answers

Symfony's XcacheClassLoader tries to load non-existent file

I have a working project that's running without a problem on local server (and was running also online). After composer update I keep getting the following error in the prod environment (interestingely, dev environment works fine): Warning:…
Czechnology
  • 14,832
  • 10
  • 62
  • 88
1
vote
2 answers

Cannot open or create file set by xcache.mmap_path

I'm getting the following error on my server with xcache... Cannot open or create file set by xcache.mmap_path, check the path permission or check xcache.size/var_size against system limitation my php.ini is as…
Cary
  • 278
  • 1
  • 3
  • 17
1
vote
0 answers

Xcache not refreshing the files when deploying with webistrano/capistrano

I am deploying my code using webistrano. A new release is created as well as the doc root symlink works fine, but when I try to access my website on browser , still the old code is referenced. This issue is because somehow xcache is not updating its…
Ruhi Singh
  • 176
  • 2
  • 15
1
vote
1 answer

Cakephp View caching based on custom key

In my project we display custom widgets on our customers pages. The widgets themselves do not change very often, so I feel view caching could be extremely useful here. But every widget is different based on which company in our system is requesting…
Neil Holcomb
  • 518
  • 4
  • 11
1
vote
1 answer

Upgrading XCache on MAMP

While trying to compile Xcache version 3.x for MAMP, phpize looks for a previous version of PHP which comes with Xcache 2.x pwd: /Applications/MAMP/bin/php/php5.5.3/xcache-3.1.0 $ phpize grep:…
staminna
  • 468
  • 1
  • 5
  • 26