How to solve the Update failed problem in unzip dependency
This article introduces the relevant knowledge of "how to solve the Update failed problem in unzip dependence". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Unzip dependence
Exception message: Unzip with unzip command failed, falling back to ZipArchive class
General explanation: the php-zip extension relies on the unzip command and cannot extract the archived compressed file, causing it to be rolled back to the archive.
Solution: install zip, unzip commands, and php-zip extensions
one
two
three
four
five
# centos (I use php7.1, take it as an example)
Yum install zip unzip php7.1-zip
# ubuntu
Apt-get install zip unzip php7.1-zip
This is the end of the content of "how to solve the Update failed problem in unzip dependency". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!