reference/libxml/setup.xml
6ec541d590b598769e62d9220121538f3a2925b2
...
...
@@ -9,14 +9,32 @@
9
9
&reftitle.required;
10
10
<para>
11
11
This extension requires <link xlink:href="&url.libxml;">libxml</link> &gt;=
12
-
2.6.0.
12
+
2.9.0 as of PHP 8.0. libxml &gt;= 2.6.0 prior to PHP 8.0.
13
13
</para>
14
14
</section>
15
15
<!-- }}} -->
16
16

17
-
<!-- {{{ Installation -->
17
+
<!-- {{{ Installation PHP >= 7.4 -->
18
18
<section xml:id="libxml.installation">
19
-
&reftitle.install;
19
+
<title>Installation for PHP versions &gt;= 7.4</title>
20
+
<para>
21
+
The libxml extension is enabled by default, although it may be disabled with
22
+
<option role="configure">--without-libxml</option>.
23
+
</para>
24
+
<para>
25
+
PHP uses <literal>pkg-config</literal> to select the right library file, header files,
26
+
and compile flags to use for libxml2.
27
+
To ensure that the desired version of libxml2 is selected,
28
+
the <envar>PKG_CONFIG_PATH</envar> environment variable may
29
+
be used to control the search path for <literal>pkg-config</literal> prior to running the configure script:
30
+
<![CDATA[PKG_CONFIG_PATH="/path/to/libxml2/prefix/lib/pkgconfig:/lib/pkgconfig"]]>
31
+
</para>
32
+
</section>
33
+
<!-- }}} -->
34
+

35
+
<!-- {{{ Installation PHP < 7.4 -->
36
+
<section xml:id="libxml.installation_old">
37
+
<title>Installation for PHP versions &lt; 7.4</title>
20
38
<para>
21
39
The libxml extension is enabled by default, although it may be disabled with
22
40
<option role="configure">--disable-libxml</option>.
23
41