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.
Install the XCache PHP extension on Debian; Install the Imagick PHP extension on Debian; Install the XDebug PHP extension on Debian; Install the ChartDirector PHP extension on Debian; Install IonCube Loader on Debian; Install Zend Guard Loader/Zend Optimizer on Debian; Store PHP sessions in Memcached; Store PHP sessions in Memcached and MySQL; Install PHP5.3 on Debian 7.0 Wheezy; Install the Pinba PHP extension on Debian. PHP 7.2 onwards no longer include mcrypt extension. Other than that, PHP 7.3 includes all extensions that were in PHP 7.1 and 7.2. Dpkg -l grep php tee packages.txt Above command will list all packages installed in your system that has php in its name, and write them to a file called packages.txt in your current working directory.
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
Debian 10 Php
Now you should have installed PHP ZipArchive. Don’t forget to restart your web server too. If you are running Apache2, just run:
![Install Install](/uploads/1/1/9/4/119447180/456224843.jpg)
![Extensions Extensions](https://lwstatic-a.akamaihd.net/kb/wp-content/uploads/2019/01/phpinfo-min1.png)
sudo service apache2 restart
PHP ZipArchive should be ready for your web application or plugin now.
Debian Install Php Extension Bcmath
To read more about the PHP ZipArchive package, go to the Debian package site.
You might also be interested in how to install phpPGAdmin.