kalla Posted October 12, 2016 Share Posted October 12, 2016 (edited) Hi,I have problem 64 bit zip extraction using PHP. Does Zip Archive support 64 bit zip extraction? $zip = new ZipArchive; if ($zip->open($fileName) === TRUE) { $zip->extractTo($dir); $extractFile = trim($zip->getNameIndex(0), '/'); echo $zip->getStatusString(); $zip->close(); } else { echo 'Unable to get archive file from zip'; } I have got the error status "Unsupported Compression / Compression method not supported" for 64Bit Zip file (compressed using windows 8 compressed folder)Zip File description (zipinfo) -rw-a-- 2.1 fat 3027500014 t- d64N 16-Sep-12 16:30 file.txt Can anybody help me... Edited October 12, 2016 by kalla Quote Link to comment https://forums.phpfreaks.com/topic/302319-unsupported-zip-compression/ Share on other sites More sharing options...
requinix Posted October 12, 2016 Share Posted October 12, 2016 Given that nobody has said anything about your bug report, likely not. You could probably use a shell command (ie, unzip) as a workaround. Quote Link to comment https://forums.phpfreaks.com/topic/302319-unsupported-zip-compression/#findComment-1538212 Share on other sites More sharing options...
raphael75 Posted October 12, 2016 Share Posted October 12, 2016 Zip should support 64-bit archives. If you can't get it to work, you could try using WinRAR for Linux and call it from exec(). Quote Link to comment https://forums.phpfreaks.com/topic/302319-unsupported-zip-compression/#findComment-1538223 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.