Maz
Maz

Reputation: 452

APC opcode caching on different file versions

We have a single server with several DIFFERENT versions of the SAME web application deployed on it.

For instance :

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

Answers (1)

Tim Fountain
Tim Fountain

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

Related Questions