#4025 (ok 4.0.6) gzip export is not actually compressed with mod_deflate

Latest_Git
fixed
None
1
2013-09-05
2013-07-18
No

See https://sourceforge.net/p/phpmyadmin/discussion/Help/thread/0dab8571/#c37b, originally reported by user candev.

When attempting to create an export compressed with gzip, and the Apache server is running mod_deflate, the resulting file is not actually compressed (regardless of whether it's saved on the server or downloaded).

This only happens when Apache is running with mod_deflate; if mod_deflate is disabled the gzip works correctly. This only happens with gzip compression.

Discussion

  • Razor7

    Razor7 - 2013-07-23

    Hi, the same here, phpMyAdmin 4.0.3 on ubuntu server 12.04 LTS. Select as gzip export compression but the file size is the same as the database! 30MB uncompressed sql script!!!. Ater download and compression with real gzip, i got only 500kb!

    Any workaround?

     
  • candev

    candev - 2013-07-24

    This behaviour is seen back to 3.5.8.1. I guess the workaround would be to disable mod_deflate or use bzip compression.

     
  • Marc Delisle

    Marc Delisle - 2013-08-04

    When I tried to fix bug 3673 by adding the detection of mod_deflate, this worked because this user probably has an Apache which applies the deflate to all mime types. I think that a better deflate configuration is like the one in Debian 7 (apply deflate depending on mime types) and we should no longer try to detect mod_deflate (which will reintroduce the bug for this user, unless he improves the deflate config).
    Or if mod_deflate is detected, we disable gzip compression in the choices?

     
  • Marc Delisle

    Marc Delisle - 2013-08-09
    • assigned_to: Marc Delisle
     
  • Marc Delisle

    Marc Delisle - 2013-08-09

    Fix by removing the mod_deflate detection.

     
  • Marc Delisle

    Marc Delisle - 2013-08-09
    • summary: gzip export is not actually compressed with mod_deflate --> (ok 4.0.6) gzip export is not actually compressed with mod_deflate
    • status: open --> resolved
    • Priority: 5 --> 1
     
  • Marc Delisle

    Marc Delisle - 2013-09-05
    • Status: resolved --> fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks