There are three ways to extract .zip files directly on the server:
- The first one is by using SSH
-> Run the following command over SSH:
unzip archive.zip
- The second way is with a PHP script.
-> Create file unzip.php in the current directory where your zip file is and add to the file the following script:
<?
'unzip archive.zip';
?>
Run file unzip.php in a browser to execute the PHP script, which will trigger the file to be unzipped.
- You can extract an archive file through the File Manager by selecting the file and clicking on the Extract button.