php - APC cache shared between different directories? -
i'm working on php project in team. team members have own working directory on centos/apache server, this.
/home/user1/public_html/project/xxxxx.php /home/user2/public_html/project/xxxxx.php
and on. write , upload php files there , test our work accessing server browser.
the problem apc caches php files without distinguishing directories. so, after accessing user1/project/xxxxx.php, cached, accessing user2/project/xxxxx.php produces result user1's php.
i think because apc shares cache between different processes and/or paths. there way turn feature off? reason cannot turn off apc, need it.
thank in advance.
try clearing apc cache. can use php's built-in function apc_clear_cache(
clear system cache.
there's apc_clear_cache('user')
. calling clear user cache.
hope helps!
Comments
Post a Comment