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

link|improve this question

feedback

1 Answer

up vote 0 down vote accepted

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");
?>
link|improve this answer
Uhm, I don't have your i.e. ('--with-zlib'...) but I have zlib table and ZLib Support enabled is the first row – Patrick Nov 2 '10 at 21:31
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.