I’m getting this error again and again while unzipping zip files, Abort class-pclzip.php : Missing zlib extensions . I tried with different files, restarted the system, nothing worked.
you are getting the error “Abort class-pclzip.php : Missing zlib extensions” because of gzopen() function specifically. Newer Ubuntu versions don’t support gzopen anymore, rather it is changed to gzopen64() for unzipping larger files.
what you can do is just navigate to the specific file and change all the gzopen reference to gzopen64.
If you are getting this error, “Abort class-pclzip.php : Missing zlib extensions” in WordPress while installing plug-ins or updating the core, first navigate to
wp-admin/includes/class.pclzip.php file using FTP or online file managers and change all gzopen to gzopen64. 🙂 hope this helps! 🙂