Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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");
?>
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

 
discard

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.