<?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision$ --> <section xml:id="tidy.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.install; <para> Tidy is currently available for PHP 4.3.x and PHP 5 as a PECL extension from <link xlink:href="&url.pecl.package;tidy">&url.pecl.package;tidy</link>. </para> <note> <para> Tidy 1.0 is just for PHP 4.3.x, while Tidy 2.0 is just for PHP 5. </para> </note> <para> If <link xlink:href="&url.php.pear;">PEAR</link> is available on your *nix-like system you can use the pear installer to install the tidy extension, by the following command: <command>pecl install tidy</command>. </para> <para> You can always download the <filename>tar.gz</filename> package and install tidy by hand: <example> <title>tidy install by hand in PHP 4.3.x</title> <programlisting role="shell"> <![CDATA[ gunzip tidy-xxx.tgz tar -xvf tidy-xxx.tar cd tidy-xxx phpize ./configure && make && make install ]]> </programlisting> </example> </para> <para> In PHP 5 you need only to compile using the <option role="configure">--with-tidy</option> option. </para> </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 -->