[wp-trac] [WordPress Trac] #52511: PclZip throwing error for zero byte files in PHP 8

WordPress Trac noreply at wordpress.org
Fri Feb 12 14:28:45 UTC 2021


#52511: PclZip throwing error for zero byte files in PHP 8
----------------------------+------------------------------
 Reporter:  arl1nd          |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:
 Severity:  major           |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+------------------------------

Comment (by knutsp):

 Can confirm this - in case PHP zip extension (ZipArchive class) is not
 loaded. This was a major turn off in an early attempt to upgrade to PHP 8
 - later zip became available in my cPanel and "solved" this for me. I
 guess PclZip is a fallback for ZipArchive.

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


More information about the wp-trac mailing list