PHP ZipArchive corrupted
If you experienced a corrupted zip file produced by ZipArchive on WampServer you probably have come to the right place. Apparently there has been a discussion on this long time ago but looks like Wampserver still uses the old php_zip.dll.
Well, nothing much to write about as it’s quite straightforward. You might want to try downloading the latest binary file here to solve the issue.
Sources:
- Images files added with ZipArchive::addFile corrupt
- Zip becomes corrupt when using ZipArchive
- Archive corrupt with ZipArchive::addFile method
