How do i unzip a GZ file in php directly.
I have a 600mb+ xyz.txt.gz file in my server that i want to extract directy in a file format (not reading the content into a string and then writing it to a file).
I know that the content in the xyz.txt.gz after unzipping is xyz.txt
Reading to a string and then writing to a file cause memory overload.
I have been able to unzip a xyz.zip file using the extractTo() provided by the ZipArchive extention but there is no such function under Zlib in php.
I do not have shell access to the server.
How do i do this in php.