Skip to content

Tag: gzip

gzdecode() insufficient memory – size is exhausted

Do you know any solucion to unpack large .gz in php (>200 MB .gz, >4GB original… maybe in packs of >1GB or >2GB inside) ? Solucion of decode .gz part by part is needed. Code gzdecode(@file_get_contents($file)) gets PHP error: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted …

gzip, deflate decompress php [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 6 months ago. Improve this question I have an encoded string, how do I decode it eNpTNXdSNTJKLSrKLwLSqsaOJUWlqapGzkBOSmpxMlQQSK…

Decoding a gzipped string in PHP

I am trying to decode a gzipped body of a REST response (YouTrack-API) with PHP. Nothing seems to work: Automatic decoding from CURL does nothing Using Guzzle with headers set to accept encoding does nothing Simply putting the acquired string into gzdecode() does nothing I have tried gzinflate, gzdecode and s…

How to enable gzip?

I have found a couple of tutorials on how to enable gzip, but nothing seems to be working for me, so my question is how do i enable gzip. I am on a shared Dreamhost hosting server, It is running PHP …