Re: Adding a way to disable the stat cache
| From: | Lynn | Date: | Thu, 02 Sep 2021 08:39:25 +0000 |
| Subject: | Re: Adding a way to disable the stat cache | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-115913@lists.php.net to get a copy of this message | ||
On Thu, Sep 2, 2021 at 10:27 AM Kevin Lyda <kevin@ie.suberic.net> wrote:
> PHP has a stat cache which is... unfortunate. As noted in this bug from
> 2004[0] it causes a number of issues for PHP users and is irrelevant
> in modern operating systems. Heck, it's not even useful in OS's people
> might consider ancient at this point.
>
I have had to add clearstatcache in the past, and probably having a bunch
of places where this should be added and isn't yet causing subtle and hard
to find bugs, I welcome this option.