WordPress and Ubuntu 64bit and zlib extension

I looked all over the web and found some links to this but it was not easy to find so i thought i would write a little article about it.

You will see this error:

Abort class-pclzip.php : Missing zlib extensions

This is because in the file class-pclzip which is in your wordpress directory

at ${wordpress_root}/wp-admin/include

wordpress looks for gzopen and now in php that is called gzopen64 so just find all occurances of gzopen and replace it with gzopen64.

Now you can install plugins and themes again. Good luck and hope this helps others.

Be Sociable, Share!
This entry was posted in tech and tagged , , . Bookmark the permalink.

3 Responses to WordPress and Ubuntu 64bit and zlib extension

  1. Victor Valle says:
    Thanks dude! I searched for almost two google search results pages and nothing helped me until your post

    Thanks again

  2. Marisa says:
    This doesn’t work! Any other suggestions?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>