WordPress.org

Make WordPress Core

#50733 closed defect (bug) (invalid)

Abort class-pclzip.php : Missing zlib extensions

Reported by: dailyqueen Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Site Health Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

I couldn't upload plugins, themes, and wordpress 5.4 version. If I have update following issues.please help me.what can I do for solve this.

abort class-pclzip.php : Missing zlib extensions

Change History (2)

#1 @SergeyBiryukov
18 months ago

  • Component changed from General to Site Health
  • Description modified (diff)
  • Keywords close added

Hi there, welcome to WordPress Trac! Thanks for the report.

The "Missing zlib extensions" error message is displayed if the gzopen() PHP function is not available, which is a part of the zlib PHP extension. That extension is used as a fallback if the zip PHP extension is not available.

Please note that this Trac is used for enhancements and bug reporting for the WordPress core software, not for individual support questions. If you need help with your site, please try the support forums, or contact your hosting provider to enable the zip or zlib extension.

It's also worth noting that both zip and zlib are on the list of recommended PHP extensions that the Site Health component checks for:

  • zip is marked as required.
  • zlib is marked as optional, since it's only used as a fallback for zip.

It you go to Tools → Site Health and check out the results, that should give you an overview if any other recommended PHP extensions are missing on your server.

#2 @Clorith
16 months ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

As there's been no movement to indicate this is a bug more so than a support request after this time, I'm closing the ticket.

Should it later turn out there is some kind of bug here, then it can be revisited at such a time, if not the support forums is the best venue for further assisatnce.

Note: See TracTickets for help on using tickets.