Skip to content

Instantly share code, notes, and snippets.

@bellbind
Created October 30, 2009 01:52
Show Gist options
  • Save bellbind/222020 to your computer and use it in GitHub Desktop.
Save bellbind/222020 to your computer and use it in GitHub Desktop.
[php][snippet]workaround for ubuntu kermic buggy release version
<?php
// workaround no "gzopen" problem on ubuntu karmic's php5 5.2.10.dfsg.1-2ubuntu6
if (!function_exists("gzopen") && function_exists("gzopen64")) {
function gzopen($file, $mode) {
return gzopen64($file, $mode);
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment