unzip dependency
Exception message: Unzip with unzip command failed, falling back to ZipArchive class
Explanation: The php-zip extension relies on the unzip command and fails to unzip the archived zip file, causing a rollback to the archive.
Workaround: Install zip, the unzip command, and the php-zip extension
#centos (I'm using php7.1, as an example)
yum
install
zip unzip php7.1-zip
#ubuntu
apt-get
install
zip unzip php7.1-zip
Similar Posts:
- unzip error “End-of-central-directory signature not found”
- Unzip the password protected zip file on the Mac with the unzip command, and the error unsupported compression method 99 is reported
- apt-get: Could not resolve ‘archive.ubuntu.com’
- Linux Error: apt-get 404 not found [How to Solve]
- unzip: command not found
- Unzip decompression failed (cannot find zipfile directory)
- Raspberry Pi 4B+Ubuntu20.04 Solve Error sudo: raspi-config: command not found
- How to Solve Mac Sed Error: command c expects followed by text
- Installing ncurses devel in Ubuntu 10.10
- [Solved] CentOS Install Oracle19c Error: /lib//libclntsh.so: file format not recognized; treating as linker script