Reputation: 452
We have a single server with several DIFFERENT versions of the SAME web application deployed on it.
For instance :
www.myserver.com
rc.myserver.com
alpha.myserver.com
We fear that there might be collisions between versions of the same PHP Class. Do APC correctly handle this? If not, how to workaround this?
Thanks for your help.
Upvotes: 1
Views: 243
Reputation: 33148
APC caches based on the path to the class, not just the class name. So as long as each of your versions have their own copy of the class you shouldn't have any problems.
Upvotes: 2