Ticket #170 (closed defect: duplicate)
xcache loads cached PHP files when directory name is changed
Description
xcache loads cached PHP files when directory name is changed
xcache will load a pre-compiled PHP file if the directory name is changed. For example:
+ Create folder1 + Create file1.php ++ Inside file1 type:
<?php echo dirname(FILE); ?>
+ Save file1.php + Browse to http://dom.ext/folder1/file1.php + Copy contents to text editor
+ Rename folder1 to folder2. Keep file1.php name intact. + Browse to http://dom.ext/folder2/file1.php + Copy contents to text editor
+ You will notice the contents are the same and xcache is using the older version of the PHP script even though clearly the directory path has changed.
-- Note: Might not be an xcache bug, but it's annoying and replicable on other systems all the same. Happens with APC (Alternative PHP Cache) too.
Thank you, Best Regards,

