InstallationLinux systemsIn order to use these functions PHP must be compiled with ZIP support by using the --with-zip configure option. Prior to PHP 7.4.0, libzip was bundled with PHP, and to compile the extension one needed to use the --enable-zip configure option. Building against the bundled libzip was discouraged as of PHP 7.3.0, but still possible by using the --without-libzip configure option. A --with-libzip=DIR configure option has been added to use a system libzip installation. libzip version 0.11 is required, with 0.11.2 or later recommended. WindowsAs of PHP 8.2.0, php_zip.dll DLL must be enabled in php.ini. Previously, this extension was built-in. Installation via PECLInformation for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: » https://pecl.php.net/package/zip. |