PHP Update failed (The zip extension and unzip command are both missing, skipping

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) yuminstallzip unzip php7.1-zip #ubuntu apt-getinstallzip unzip php7.1-zip

Similar Posts: