Wordpress

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

Posted by Weston Ganger on May 24, 2016

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:


Posted in Wordpress and Tagged with wordpress php 


Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts