PHP ZipArchive is a file archive for zip compression used by many web applications and plugins. How to install PHP ZipArchive for Debian is an easy task. Let’s see how we install it.
PHP ZipArchive Library is missing or disabled
PHP ZipArchive Library is missing or disabled is the usual message you get if it is missing or disabled. So let’s assume it is missing, as in not installed. You only need to run one line of commands.
sudo apt-get install php7.0-zip
Now you should have installed PHP ZipArchive. Don’t forget to restart your web server too. If you are running Apache2, just run:
sudo service apache2 restart
PHP ZipArchive should be ready for your web application or plugin now.
To read more about the PHP ZipArchive package, go to the Debian package site.
You might also be interested in how to install phpPGAdmin.