Remix.run Logo
johntash 2 days ago

One of my biggest issues with php was the number of imports and file reads involved. It made running something like wordpress _really_ slow on slow disks or over nfs. I don't remember apcu or opcache helping much for that because I think it still did a stat on every file iirc.

For single-file php apps or just not using a big framework, it's not really a problem.

spdionis 2 days ago | parent [-]

You can configure opcache to never stat unless it's reloaded

johntash a day ago | parent | next [-]

Huh, well that sounds like it would have been useful. It's been at least 10 years since I did any php dev work, but maybe I'll find an excuse to use it again for something.

dingdingdang a day ago | parent | prev [-]

Not only can you configure it to never stat; it has also been on by default since PHP 5.5 afaicr