1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
<?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.linux">
<title>Linux systems</title>
<para>
In order to use these functions PHP must be compiled with ZIP support
by using the <option role="configure">--with-zip</option>
configure option.
</para>
<para>
Prior to PHP 7.4.0, libzip was bundled with PHP,
and to compile the extension one needed to use the
<option role="configure">--enable-zip</option>
configure option.
Building against the bundled libzip was discouraged as of PHP 7.3.0,
but still possible by using the
<option role="configure">--without-libzip</option>
configure option.
</para>
<para>
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>
</section>
<section xml:id="zip.installation.new.windows">
<title>Windows</title>
<para>
As of PHP 8.2.0, <filename>php_zip.dll</filename> DLL must be
<link linkend="install.pecl.windows.loading">enabled</link> in
&php.ini;.
Previously, this extension was built-in.
</para>
</section>
<section xml:id="zip.installation.pecl">
<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
-->
|