PHP ZIP extension (ZipArchive)
The ZIP extension lets PHP open and create ZIP archives. Plugins, themes and WordPress updates all arrive as ZIP files, and WordPress has to unpack them before it can install anything.
Why it matters
Section titled “Why it matters”With the extension, WordPress unpacks updates with PHP’s built-in ZipArchive. Without it,
WordPress falls back to a method of its own that’s written in PHP. That works too, but it’s slower
and needs more memory, so large packages are more likely to fail on a server with tight limits.
Backup, migration and export plugins often rely on the extension to create archives, and some refuse to work without it.
What influences it
Section titled “What influences it”Server: Whether the extension is installed and enabled is up to the hosting provider. It’s part of most PHP setups.
WordPress: WordPress uses ZipArchive whenever it’s available and switches to its own
method if it isn’t, or if an archive can’t be opened with it.
In Permo
Section titled “In Permo”Permo doesn’t check the ZIP extension; it has no effect on how fast your pages load. WordPress’s own Site Health screen, under Tools, lists it among the recommended PHP modules and reports it when it’s missing.
Related
Section titled “Related”Sources
- PHP: Zip, accessed
- WordPress: unzip_file(), accessed