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: