Fix Abort Class-pclzip.php : Missing Zlib Extensions In Wordpress

Posted By Weston Ganger

I kept seeing this weird error on a Wordpress site: Abort Class-pclzip.php : Missing Zlib Extensions Most of the solutions out there didn't work but I finally came across a good answer.

The error is actually regarding gzopen. In newer version of Ubuntu gzopen is not available, they only include the 64bit version called gzopen64 for larger files.

Edit the file wp-admin/includes/class.pclzip.php.
Change all references of gzopen to gzopen64.

Now it should be running smoothly with no zlib errors.

Related External Links:

Article Topic:Software Development - Wordpress

Date:May 24, 2016