Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 ?


share|improve this question
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.


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 ..?

  error_reporting( E_ALL );
  $fp = gzopen("/path/to/aaa.sql.gz", "r");
share|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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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