Added installation (configure) documentation, and specified core exts that rely on ext/libxml

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289134 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2009-10-03 17:30:55 +00:00
parent 75a5796ac5
commit f439cac098
2 changed files with 46 additions and 5 deletions

View file

@ -10,11 +10,19 @@
<preface xml:id="intro.libxml">
&reftitle.intro;
<para>
These functions/constants are available since PHP 5.1.0 and if you have
compiled one of the extensions based on libxml, like
These functions/constants are available as of PHP 5.1.0, and
the following core extensions rely on this libxml extension:
<link linkend="book.dom">DOM</link>,
<link linkend="book.simplexml">SimpleXML</link> and
<link linkend="book.xslt">XSLT</link>.
<link linkend="book.libxml">libxml</link>,
<link linkend="book.simplexml">SimpleXML</link>,
<link linkend="book.soap">SOAP</link>,
<link linkend="book.wddx">WDDX</link>,
<link linkend="book.xsl">XSL</link>,
<link linkend="book.xslt">XSLT</link>,
<link linkend="book.xml">XML</link>,
<link linkend="book.xmlreader">XMLReader</link>,
<link linkend="book.xmlrpc">XMLRPC</link>&listendand;
<link linkend="book.xmlwriter">XMLWriter</link>.
</para>
</preface>
<!-- }}} -->

View file

@ -17,7 +17,40 @@
<!-- {{{ Installation -->
<section xml:id="libxml.installation">
&reftitle.install;
&no.install;
<para>
The libxml extension is enabled by default, although it may be disabled with
<option role="configure">--disable-libxml</option>.
</para>
<para>
The optional <option role="configure">--with-libxml-dir</option>
directive is used to specify the location of <literal>libxml</literal>
on the system that PHP is being compiled on, otherwise only the
default locations are scanned. The configure process checks for libxml
(specifically, <literal>xml2-config</literal>) in the following order:
</para>
<orderedlist>
<listitem>
<para>
The location ([DIR]) specified with <option role="configure">--with-libxml-dir</option>
(<filename>[DIR]/bin/xml2-config</filename>)
</para>
</listitem>
<listitem>
<para>
<filename>/usr/local/bin/xml2-config</filename>
</para>
</listitem>
<listitem>
<para>
<filename>/usr/bin/xml2-config</filename>
</para>
</listitem>
</orderedlist>
<para>
If configure cannot find <filename>xml2-config</filename> in the directory
specified by <option role="configure">--with-libxml-dir</option>, then
it'll continue on and check the default locations.
</para>
</section>
<!-- }}} -->