2003-11-28 01:42:15 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2009-07-11 09:13:17 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<section xml:id="tidy.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2003-11-28 01:42:15 +00:00
|
|
|
&reftitle.install;
|
|
|
|
<para>
|
2004-01-18 11:26:49 +00:00
|
|
|
Tidy is currently available for PHP 4.3.x and PHP 5 as a PECL
|
|
|
|
extension from
|
2007-06-20 22:25:43 +00:00
|
|
|
<link xlink:href="&url.pecl.package;tidy">&url.pecl.package;tidy</link>.
|
2003-11-28 01:42:15 +00:00
|
|
|
</para>
|
2004-01-18 11:26:49 +00:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
Tidy 1.0 is just for PHP 4.3.x, while Tidy 2.0 is just for PHP 5.
|
|
|
|
</para>
|
|
|
|
</note>
|
2003-11-28 01:42:15 +00:00
|
|
|
<para>
|
2007-06-20 22:25:43 +00:00
|
|
|
If <link xlink:href="&url.php.pear;">PEAR</link> is available on your *nix-like
|
2003-11-28 01:42:15 +00:00
|
|
|
system you can use the pear installer to install the tidy extension, by the
|
2006-07-03 11:40:03 +00:00
|
|
|
following command: <command>pecl install tidy</command>.
|
2003-11-28 01:42:15 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2009-05-04 21:23:55 +00:00
|
|
|
You can always download the <filename>tar.gz</filename> package and install tidy by hand:
|
2003-11-28 01:42:15 +00:00
|
|
|
<example>
|
2004-03-10 17:16:34 +00:00
|
|
|
<title>tidy install by hand in PHP 4.3.x</title>
|
2003-11-28 01:42:15 +00:00
|
|
|
<programlisting role="shell">
|
|
|
|
<![CDATA[
|
|
|
|
gunzip tidy-xxx.tgz
|
|
|
|
tar -xvf tidy-xxx.tar
|
|
|
|
cd tidy-xxx
|
|
|
|
phpize
|
|
|
|
./configure && make && make install
|
|
|
|
]]>
|
|
|
|
</programlisting>
|
|
|
|
</example>
|
|
|
|
</para>
|
2004-03-10 17:16:34 +00:00
|
|
|
<para>
|
2004-03-11 12:51:27 +00:00
|
|
|
In PHP 5 you need only to compile using the <option
|
|
|
|
role="configure">--with-tidy</option> option.
|
2004-03-10 17:16:34 +00:00
|
|
|
</para>
|
2003-11-28 01:42:15 +00:00
|
|
|
</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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2003-11-28 01:42:15 +00:00
|
|
|
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
|
|
|
|
-->
|