PHP filesize() on file larger then 5GB turns into error

Viewed 33

if i use the filesize() function on a file that is larger then 5GB i just got "Warning: filesize(): stat failed for....".

I have PHP 7.4.27 running on 64bit system.

A 4.99GB File for example works fine.

Is there any fix or workaround for this?

Greetings

0 Answers
Related