/
configure.xml
71 lines (66 loc) · 2.59 KB
/
configure.xml
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
71
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 7747acdc55fe497b9e920d6edcbe70c71e03ea30 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: shimooka,mumumu -->
<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 システム</title>
<para>
これらの関数を利用するには、設定オプション
<option role="configure">--with-zip</option> を使用して
ZIP サポートを有効にして PHP をコンパイルしなければなりません。
</para>
<para>
PHP 7.4.0 より前のバージョンでは、libzip は PHP にバンドルされていました。
拡張モジュールをコンパイルするには、<option role="configure">--enable-zip</option>
オプションを使う必要がありました。
PHP 7.3.0 以降では、バンドルされている libzip を使って
PHP をビルドすることは推奨されなくなりました。
しかし、<option role="configure">--without-libzip</option> オプションを
configure オプションに追加することで
バンドルされている libzip を使えていました。
</para>
<para>
<option role="configure">--with-libzip=DIR</option>
オプションが追加されています。
これを指定すると、システムにインストールされた libzip を利用します。
これには、libzip 0.11 以降が必要です。0.11.2 以降を推奨します。
</para>
</section>
<section xml:id="zip.installation.new.windows">
<title>Windows</title>
<para>
PHP 8.2.0 以降では、
<filename>php_zip.dll</filename> を &php.ini; で有効にする必要があります。
それより前のバージョンでは、この拡張モジュールは標準で PHP に組み込まれていました。
</para>
</section>
<section xml:id="zip.installation.pecl">
<title>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
-->