svn: /phpdoc/en/trunk/reference/libxml/ book.xml setup.xml

From: Date: Sat, 03 Oct 2009 17:30:55 +0000
Subject: svn: /phpdoc/en/trunk/reference/libxml/ book.xml setup.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5054@lists.php.net to get a copy of this message
philip Sat, 03 Oct 2009 17:30:55 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=289134 Log: Added installation (configure) documentation, and specified core exts that rely on ext/libxml Changed paths: U phpdoc/en/trunk/reference/libxml/book.xml U phpdoc/en/trunk/reference/libxml/setup.xml Modified: phpdoc/en/trunk/reference/libxml/book.xml =================================================================== --- phpdoc/en/trunk/reference/libxml/book.xml 2009-10-03 17:29:06 UTC (rev 289133) +++ phpdoc/en/trunk/reference/libxml/book.xml 2009-10-03 17:30:55 UTC (rev 289134) @@ -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> <!-- }}} --> Modified: phpdoc/en/trunk/reference/libxml/setup.xml =================================================================== --- phpdoc/en/trunk/reference/libxml/setup.xml 2009-10-03 17:29:06 UTC (rev 289133) +++ phpdoc/en/trunk/reference/libxml/setup.xml 2009-10-03 17:30:55 UTC (rev 289134) @@ -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> <!-- }}} -->

« previous php.doc.cvs (#5054) next »