Linux systems
In 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.