Ubuntu gzopen() / gzopen64() Fix

Description

UPDATE :: April 2016

This plugin is no longer required for users of Ubuntu 16.04 LTS or higher. The PHP developers have incorporated a patch fix at the PHP-level (https://bugs.launchpad.net/php/+bug/1315888). I plan to keep this plugin available and maintained until Ubuntu 14.04 LTS reaches it’s End of Life (April 2019), or until a patch fix has been personally confirmed for Ubuntu 14.04.

Some of the latest versions of Ubuntu (most notably 14.04 LTS) have implemented a 64-bit version of the gzopen() function, to better handle large files. Unfortunately, the Ubuntu developers have also renamed the file with no backwards-compatibility to “gzopen64()”. This means that all of the gzopen() calls in WordPress (and related plugins) fail, such as used in Updraft Plus.

This plugin is meant to fix that, with a simple translator function call to pass gzopen() calls to gzopen64(), and lets you solve the issue without having to add this adjustment to your theme files constantly.

Should only take effect when the standard gzopen() function is not available.

Installation

  1. Upload folder ubuntu-gzopen64-fix in WordPress plugin directory /wp-content/plugins/.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Move on with your life!

Reviews

Super helpful. Saves lots of head banging.

Updraft is one of the most helpful plugins. But it was not working and was causing my site to slow down and do weird things. Thanks to this plugin everything is working well again and my backups are “back up” 🙂

Read all 1 review

Contributors & Developers

“Ubuntu gzopen() / gzopen64() Fix” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • Intial release