Can anyone help me extract a .tar.gz file with PHP? I am using free web hosting, they don’t have an extract option in their control panel. They also don’t allow exec() commands.
I have a script in .tar.gz file around 80MB file size. I uploaded the file to the hosting server with FTP. After that, I need to extract it to run the script but found no way to do it.
Is any option available in PHP to extract .tar.gz?