Php ziparchive set password not working

ziparchive open php 1 addfile php 2 crear zip php 3 unzip php 4 I have PHP The function seems to work, partially at least, except the password is not recognized when trying to unzipping. It can zip with a password but cannot be unzipped. Kinda like the Seinfeld taking vs holding of the reservation lol. –. 5 As of PHP and libzip the password is used to decompress the archive, and is also the default password for ZipArchive::setEncryptionName() and ZipArchive::setEncryptionIndex(). Formerly, this function only set the password to be used to decompress the archive; it did not turn a non-password-protected ZipArchive into a password. 6 ZipArchive password protection doesn't work if entryname is 7 setPassword corrupting files 8 PHP ZipArchive password not working 9 ZipArchive 10