Edit report at https://bugs.php.net/bug.php?id=59493&edit=1
ID: 59493 Comment by: webmaster_apc at colnect dot com Reported by: pierre at archlinux dot de Summary: APC fails to include files with relative paths and apc.stat=0 Status: Wont fix Type: Bug Package: APC Operating System: Arch Linux PHP Version: Irrelevant Block user comment: N Private report: N New Comment: This is stuck on wontfix but seems that I can now do stat="0" again. Currently with v3.1.7 of APC and all seems to be responding well. Previous Comments: ------------------------------------------------------------------------ [2011-02-28 19:01:22] passby at gmail dot com After upgraded PHP to 5.2, I have the same relative path issue of APC. Then I ran across another thread about this and people mentioning to set apc.canonicalize=1. From what I observed the speed did increase a lot and the issue seems to be resolved. ------------------------------------------------------------------------ [2011-01-21 11:59:17] aaron dot cicali at gmail dot com I use a 3rd party PHP framework and using stat=0 breaks all over. I would also like to add my request for a third state of this parameter for backwards compatibility. Thanks. ------------------------------------------------------------------------ [2011-01-16 04:33:08] webmaster_apc2 at colnect dot com While I can easily adjust my code, it becomes much harder to do that for third party code such as the aforementioned phpBB. Not being backward compatible is something that always has to be considered seriously. In this case, there's no need not to be backward compatible as you can add the "fix" in a way that doesn't damage existing code. PLEASE fix it. ------------------------------------------------------------------------ [2010-12-26 13:18:54] gop...@php.net Actually, that's exactly what it does right now. apc.stat=0 is not intended to work for all cases, it's designed to be fast for the people who do write code for it. ------------------------------------------------------------------------ [2010-12-26 11:18:41] john at feurix dot com Please reconsider the previous suggestion to keep supporting a lazy stat (even if this was not initially intended and is considered a bug today): If apc.stat=2 (or call it apc.lazy_stat), then skip stat for absolute paths, and _try_ to skip stat for relative paths. If the latter fails, fall back to stat. Educating the world to use absolute paths all the time is kind of ignorant. It isn't going to happen. Thank you! ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=59493 -- Edit this bug report at https://bugs.php.net/bug.php?id=59493&edit=1