PHP has built-in extensions for dealing with compressed files. There should be no need to use system calls for this. ZipArchive is one option.
So in this post we have used the ZipArchive php built-in extention. Just copy and paste the below code, and place the zip file path.
$zip = new ZipArchive;
if ($zip->open('FILE_PATH') === TRUE)
echo 'File extracted successfully';
echo 'Failed to extract';