Comment 14 for bug 1310552

Revision history for this message
Chingachkuk (win32-ya) wrote :

Here is the code that helped me getting it working. I injected it to /usr/share/php/Archive/Tar.php.
<code>
/**
 * Missing zlib functions.
 */
function gzopen($filename, $mode, $use_include_path = 0) {
  return gzopen64($filename, $mode, $use_include_path);
};
function gzseek($zp, $offset, $whence = SEEK_SET) {
  return gzseek64($zp, $offset, $whence);
}
function gztell($zp) {
  return gztell64($zp);
}
</code>