I'm working on a zend project and I installed PHP APC to catch the file upload progress. It works fine and giving the right upload information. But when I refresh the pages in my application, they are not reflecting. I've to restart my apache server each time to get the new response from server. Is there any way to disable the caching run by apc.

Thanks.

有帮助吗?

解决方案

If I had to guess, I'd say that you have apc.stat set to false (zero) in your php.ini (or somewhere else in your configuration).

If apc.stat is not set true, then PHP will ignore any changes to your files until it reloads. This is a nice thing in a well-managed production environment, but doesn't work so well for development. Check your configs.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top