0

phpmyadmin on my server doesn't support compression:

You attempted to load file with unsupported compression (application/gzip). Either support for it is not implemented or disabled by your configuration.

I need to import a database aaa.sql.gz

How can I change the configuration and what precisely ?

thanks

user9517
  • 115,471
  • 20
  • 215
  • 297
aneuryzm
  • 1,714
  • 5
  • 26
  • 41

1 Answers1

0

Does phpinfo() show zlib support enabled (i.e. '--with-zlib' '--with-zlib-dir=/usr' in Configure Command output) ..?

See Zlib Installation from the PHP manual to install if necessary.

Update

phpMyAdmin is checking against @function_exists('gzopen') [phpmyadmin/libraries/File.class.php:660 if you happen to be using v2.11.8.1] before returning the error string you referenced - do you see any errors logged when you call gzopen() from a script ..?

<?php
  error_reporting( E_ALL );
  $fp = gzopen("/path/to/aaa.sql.gz", "r");
?>
danlefree
  • 2,923
  • 1
  • 19
  • 20
  • Uhm, I don't have your i.e. ('--with-zlib'...) but I have zlib table and ZLib Support enabled is the first row – aneuryzm Nov 02 '10 at 21:31