php-doc-en/reference/zip/configure.xml
Christoph Michael Becker f5c5171d6f Fix #79418: configure --enable-zip results in failure
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349534 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-27 16:32:30 +00:00

70 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<section xml:id="zip.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.install;
<section xml:id="zip.installation.new">
<section xml:id="zip.installation.new.linux">
<title>Linux systems</title>
<para>
As of PHP 7.4.0, in order to use these functions you must compile PHP with zip support
by using the <option role="configure">--with-zip</option>
configure option.
Previously, zip support had to be enabled by using the <option role="configure">--enable-zip</option>
configure option.
</para>
<para>
As of PHP 5.6.0 a <option role="configure">--with-libzip=DIR</option>
configure option has been added to use a system libzip installation. libzip
version 0.11 is required, with 0.11.2 or later recommended.
</para>
<para>
As of PHP 7.3.0, building against the bundled libzip is discouraged, but
still possible by adding <option role="configure">--without-libzip</option>
to the configuration.
As of PHP 7.4.0, the bundled libzip is removed.
</para>
</section>
<section xml:id="zip.installation.new.windows">
<title>Windows</title>
<para>
As of PHP 5.3 this extension is built-in. Before,
Windows users need to enable <filename>php_zip.dll</filename> inside
of &php.ini; in order to use these functions.
</para>
</section>
</section>
<section xml:id="zip.pecl.installation">
<title>Installation via PECL</title>
<para>
&pecl.info;
<link xlink:href="&url.pecl.package;zip">&url.pecl.package;zip</link>.
</para>
</section>
</section>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->