We have an issue with some of our applicationa where xcache seems to not
be able to distinguish between files with the same file name at
different paths. A specific example would be running a similar set of
scripts in different directories, each directory with a unique
config.php.
path1/somescript.php < -- contains require_once('config.php');
path1/config.php
path2/someotherscript.php < -- contains require_once('config.php');
path2/config.php
Each config.php file is unique, however it seems the first one compiled
by xcache is used for every require_once('config.php') even if the
require statement should reference the config file relative to it's own
path. (Note: The same problem still occurs if I define the full path to
each config.php.)
Anyone else seen this? Any thoughts?
Running: Xcache 1.2.2, php 5.16, Apache/2.2.3 (Red Hat)
on 31.07.2008 00:36
on 31.07.2008 11:54
can u pls disable XCache and see if it works?
on 31.07.2008 19:09
moo XCache wrote:
> can u pls disable XCache and see if it works?
Yes I have tested that. It does indeed work. (We had xcache disabled
on our development server and only saw the problem after moving the code
to staging and production. We had to disable)
on 18.08.2008 11:49
Stace wrote: > moo XCache wrote: >> can u pls disable XCache and see if it works? > > Yes I have tested that. It does indeed work. (We had xcache disabled > on our development server and only saw the problem after moving the code > to staging and production. We had to disable) I'm seeing the same problem. I have multiple virtual hosts, and several of them have the same webapp (gallery), each with their own config.php. It all works fine without xcache, but once I enable xcache, which ever site is hit first is the one that appears for all the sites.

