APC opcode caching on different file versions

旧时模样 提交于 2019-12-13 00:41:28

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/10549493/apc-opcode-caching-on-different-file-versions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!