I need to create a large zip archive from jpg files. The zip generation breaks on 64MB - There is no way to increase the memory limit on the hoster.
I tried many methods to generate the zip files but all failed:
- The PHP ZipArchive Class.
- exec("zip -r file.zip *.jpg")
- pclzip (with an option to generate temporary files instead of memory)
Maybe there is another way to create zip files using stream/tempprary files with low memory inpact?
Thanks for suggestions