reference/zip/configure.xml
255ec60a292051a7d583617cb0637ea1a3437f88
...
...
@@ -4,17 +4,24 @@
4
4
&reftitle.install;
5
5

6
6
<section xml:id="zip.installation.new">
7
-
<title>PHP 5.2.0 and later</title>
8
7
9
8
<section xml:id="zip.installation.new.linux">
10
9
<title>Linux systems</title>
11
10
<para>
12
-
In order to use these functions you must compile PHP with zip support
13
-
by using the <option role="configure">--enable-zip</option>
11
+
As of PHP 7.4.0, in order to use these functions you must compile PHP with zip support
12
+
by using the <option role="configure">--with-zip</option>
14
13
configure option.
14
+
Previously, zip support had to be enabled by using the <option role="configure">--enable-zip</option>
15
+
configure option.
16
+
As of PHP 7.4.0, the bundled libzip is removed.
17
+
</para>
18
+
<para>
19
+
As of PHP 7.3.0, building against the bundled libzip is discouraged, but
20
+
still possible by adding <option role="configure">--without-libzip</option>
21
+
to the configuration.
15
22
</para>
16
23
<para>
17
-
As of PHP 5.6.0 a <option role="configure">--with-libzip=DIR</option>
24
+
A <option role="configure">--with-libzip=DIR</option>
18
25
configure option has been added to use a system libzip installation. libzip
19
26
version 0.11 is required, with 0.11.2 or later recommended.
20
27
</para>
...
...
@@ -23,8 +30,10 @@
23
30
<section xml:id="zip.installation.new.windows">
24
31
<title>Windows</title>
25
32
<para>
26
-
Windows users need to enable <filename>php_zip.dll</filename> inside
27
-
of &php.ini; in order to use these functions.
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.
28
37
</para>
29
38
</section>
30
39
</section>
31
40