[wp-trac] [WordPress Trac] #50733: Abort class-pclzip.php : Missing zlib extensions

WordPress Trac noreply at wordpress.org
Wed Jul 22 12:35:29 UTC 2020


#50733: Abort class-pclzip.php : Missing zlib extensions
--------------------------+------------------------------
 Reporter:  dailyqueen    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Site Health   |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close
 * component:  General => Site Health


Old description:

> 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

New description:

 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

--

Comment:

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

 The "Missing zlib extensions" error message is displayed if the
 [https://www.php.net/manual/en/function.gzopen.php gzopen() PHP function]
 is not available, which is a part of the
 [https://www.php.net/manual/en/book.zlib.php zlib PHP extension]. That
 extension is used as a fallback if the
 [https://www.php.net/manual/en/book.zip.php 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
 [https://wordpress.org/support/forums/ 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
 [https://make.wordpress.org/hosting/handbook/handbook/server-environment
 /#php-extensions 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50733#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list