I'm using OpCache since it came with PHP 5.5.x and I'm really pleased with it, but I would like to tune its memory settings and that's where my understanding comes short...
When a given user requests a given page, the server answers this requests, calls the PHP interpreter, the interpreter stores the opcodes in the cache, serves the content, and that's about it. The next time a request comes in, the cache kicks in if the requested opcodes are the same, but my questions is...
The cache is working on a per-user basis (and the cached opcodes apply only for this specific user's requests) or do they apply to any request making use of those cached opcodes?
What I would like to do is tune OpCache to use a certain ammount of memory but I don't know if the memory pool works on a per-user basis or it's acting like a shared pool of resources.
Can you give me a hint?