If the build problem is too hard to solve, the gross solution is to modify the PEAR file Tar.php so that each reference to compression type 'gz' also tests for the build's function, like this:
if ($this->_compress_type == 'gz' && function_exists('gzopen')) $this->_file = @gzopen($this->_tarname, "wb9"); else if ($this->_compress_type == 'gz' && function_exists('gzopen64')) $this->_file = @gzopen64($this->_tarname, "wb9");
If the build problem is too hard to solve, the gross solution is to modify the PEAR file Tar.php so that each reference to compression type 'gz' also tests for the build's function, like this:
if ($this- >_compress_ type == 'gz' && function_ exists( 'gzopen' ))
$this- >_file = @gzopen( $this-> _tarname, "wb9"); >_compress_ type == 'gz' && function_ exists( 'gzopen64' ))
$this- >_file = @gzopen64( $this-> _tarname, "wb9");
else if ($this-