How To Unzip Files Directly On The Server | Hapih Host
 

HOW TO UNZIP FILES DIRECTLY ON THE SERVER?

HOW TO UNZIP FILES DIRECTLY ON THE SERVER?

There are two ways to extract .zip files directly on the server: 

1.The first one is by using SSH 
->Run the following command over SSH: 
unzip theziparchive.zip 

2.The second way is with PHP script. 
-> Create file unzip.php in the current directory where your zip file is and add to the file the following script: 

<? 
‘unzip theziparchive.zip’; 
?> 

Run file unzip.php in a browser to execute the php script, that will trigger file to be unzipped.

Summary
Article Name
HOW TO UNZIP FILES DIRECTLY ON THE SERVER?
Description
Learn Step By Step HOW TO UNZIP FILES DIRECTLY ON THE SERVER, unzip PHP and continue working on your Project. Hapih Host Blog will help you to solve the issues.