Question
Missing zlib extensions on Ubuntu
I have a Wordpress install on a 512Mb Ubuntu 14.04 x32 which is working fine 95% of the time, however I occasionally get this error when both browsing and working in the Admin panel:
Abort class-pclzip.php : Missing zlib extensions
Can anyone help me identify what this might be? My guesses at this stage are pointed towards a plugin dependency, or php extensions but I want to confirm before playing with the config.
Cheers,
Andy
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
It seems some plugin is trying to use
class-pclzip.php
to compress or extract an archive. It might be a bug in the plugin or a missing dependency. Though, Zlib support should exist by default in Ubuntu. On the command line, what’s the output of:It should show
bool(true)
if the zlib extension is available.I am having the exact same issue.
When I run:
in the command line, it returns bool(false).
I ran:
to make sure zlib is installed properly, but it’s still bool(false)
Any suggestions on how to fix this?
I did the same thing, its still the same.