Well, it's not completely arbitrary. It's the size that was used previous to php 5.2.10. See _php_stream_mmap_range() in main/streams/mmap.c.
In my limited testing, it does solve the issue. Unfortunately, it also has the side effect of re-introducing php bug #48309 for files over 4MB. Maybe making it size_t - 1 would be better? -- PHP5 under Apache2 on 64 bit system is not completely 64 bit https://bugs.launchpad.net/bugs/564920 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs