- Plesk for Linux
How to install the PHP ZipArchive module for particular PHP handler?
The PHP ZipArchive module is installed by default in PHP handlers shipped by Plesk. It could be checked as described below:
- Connect to the server using SSH.
- Execute the command:
# /opt/plesk/php/X.X/bin/php -m | grep zipWhere X.X - version of PHP handler.
On CentOS, the module also installed in PHP handlers that are shipped by OS vendor:
# php -m | grep zip
However, on Ubuntu, the module is not installed by default. It could be installed using the following command:
# apt-get install phpX.X-zip
Where X.X - version of PHP handler