Skip to content
Advertisement

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 (tried to allocate … of course. I cannot increase the PHP

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 eNpTNXdSNTJKLSrKLwLSqsaOJUWlqapGzkBOSmpxMlQQSKYlZuakpqgaGSSWlmTkF2VWJZZk5ueBpM1dALkhFLk= gzdecode, gzinflate, zlib_decode output false on this site it stands for as it should

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 some wild combinations of them including stripping off bytes at

How do I upload a gzip object to s3?

I am creating a gzip string and uploading it as an object to s3. However when I download the same file from s3 and decompress it locally with gunzip I get this error: gunzip: 111.gz: not in gzip format When I look at the mime_content_type returned in the file downloaded from s3 it is set as: application/zlib Here is the

phpMyAdmin doesn’t load database import file with unsupported compression (application/gzip)

I upgraded from an older lubutu release to 14, now running PHP 5.5 and phpMyAdmin 4.0.10deb1, I regularly move small MySQL database exports between hosts (700KB gzip, around 7-10MB decompressed SQL). You attempted to load file with unsupported compression (application/gzip). Either support for it is not implemented or disabled by your configuration. This was all working swimmingly on the older

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 …

Advertisement