Ubuntu gzopen / gzopen64 fix

When Ubuntu 14 was released, it was discovered that Canonical had renamed a key function [ gzopen() ] to a new name [ gzopen64() ] with no real warning, and no fallback support.  Since this function is used in a variety of WordPress plugins (such as Updraft Plus’ great backup plugin), this additional plugin is being offered to cover that oversight.

Simply install and activate it, and that’s it!  The plugin simply institutes a new PHP function that translates gzopen() calls to the now-named gzopen64() function that exists on Ubuntu 14+.

I created this plugin for use at work, as we host most of our client websites on Ubuntu 14.04 LTS servers, and do a lot of development with WordPress currently.  I finally figured that I’d put this plugin out there for others to use, in case it’s helpful!

Hope that helps!

Download: ubuntu-gzopen64-fix.zip

If you prefer the raw source, you can find it here:  https://bitbucket.org/twykr/ubuntu-gzopen-fix/