Hello,
using lsws standard 4.0.13 on linux, autoindex can't display file sizes above 2GB (unsigned int), it shows negatives or wrapped numbers instead.
Fixed by replacing line 161 of /usr/local/lsws/share/autoindex/default.php
with
$fileStat->size = (float) exec('stat -c %s '.escapeshellarg("$path$file"));
Actually my solution works except for one thing, utf-8 named files. It is also broken when browsing so it is not only related to file sizes.
Do you have a recommended php configuration? I tried to force the location to define default charset as utf-8 but it doesn't work (content-type does not contain charset).