reference/zip/configure.xml
7747acdc55fe497b9e920d6edcbe70c71e03ea30
...
...
@@ -3,38 +3,41 @@
3
3
<section xml:id="zip.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4
4
&reftitle.install;
5
5

6
-
<section xml:id="zip.installation.new">
7
-
8
-
<section xml:id="zip.installation.new.linux">
9
-
<title>Linux systems</title>
10
-
<para>
11
-
In order to use these functions you must compile PHP with zip support
12
-
by using the <option role="configure">--enable-zip</option>
13
-
configure option.
14
-
</para>
15
-
<para>
16
-
As of PHP 5.6.0 a <option role="configure">--with-libzip=DIR</option>
17
-
configure option has been added to use a system libzip installation. libzip
18
-
version 0.11 is required, with 0.11.2 or later recommended.
19
-
</para>
20
-
<para>
21
-
As of PHP 7.3.0, building against the bundled libzip is discouraged, but
22
-
still possible by adding <option role="configure">--without-libzip</option>
23
-
to the configuration.
24
-
</para>
25
-
</section>
6
+
<section xml:id="zip.installation.linux">
7
+
<title>Linux systems</title>
8
+
<para>
9
+
In order to use these functions PHP must be compiled with ZIP support
10
+
by using the <option role="configure">--with-zip</option>
11
+
configure option.
12
+
</para>
13
+
<para>
14
+
Prior to PHP 7.4.0, libzip was bundled with PHP,
15
+
and to compile the extension one needed to use the
16
+
<option role="configure">--enable-zip</option>
17
+
configure option.
18
+
Building against the bundled libzip was discouraged as of PHP 7.3.0,
19
+
but still possible by using the
20
+
<option role="configure">--without-libzip</option>
21
+
configure option.
22
+
</para>
23
+
<para>
24
+
A <option role="configure">--with-libzip=DIR</option>
25
+
configure option has been added to use a system libzip installation. libzip
26
+
version 0.11 is required, with 0.11.2 or later recommended.
27
+
</para>
28
+
</section>
26
29
27
-
<section xml:id="zip.installation.new.windows">
28
-
<title>Windows</title>
29
-
<para>
30
-
As of PHP 5.3 this extension is built-in. Before,
31
-
Windows users need to enable <filename>php_zip.dll</filename> inside
32
-
of &php.ini; in order to use these functions.
33
-
</para>
34
-
</section>
30
+
<section xml:id="zip.installation.new.windows">
31
+
<title>Windows</title>
32
+
<para>
33
+
As of PHP 8.2.0, <filename>php_zip.dll</filename> DLL must be
34
+
<link linkend="install.pecl.windows.loading">enabled</link> in
35
+
&php.ini;.
36
+
Previously, this extension was built-in.
37
+
</para>
35
38
</section>
36
39

37
-
<section xml:id="zip.pecl.installation">
40
+
<section xml:id="zip.installation.pecl">
38
41
<title>Installation via PECL</title>
39
42
<para>
40
43
&pecl.info;
41
44