2003-11-28 01:42:15 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2003-12-01 09:29:54 +00:00
|
|
|
<!-- $Revision: 1.3 $ -->
|
2003-11-28 01:42:15 +00:00
|
|
|
<section id="tidy.installation">
|
|
|
|
&reftitle.install;
|
|
|
|
<para>
|
|
|
|
Tidy is currently available for PHP 4.3.x and PHP 5 as a PECL
|
2003-12-01 09:29:54 +00:00
|
|
|
extension from
|
2003-11-28 01:42:15 +00:00
|
|
|
<ulink url="&url.pecl.package;tidy">&url.pecl.package;tidy</ulink>.
|
|
|
|
</para>
|
|
|
|
<para>
|
2003-11-28 10:59:49 +00:00
|
|
|
If <ulink url="&url.php.pear;">PEAR</ulink> 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
|
|
|
|
following command: <command>pear -v install tidy</command>.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
You can always download the tar.gz package and install tidy by hand:
|
|
|
|
<example>
|
|
|
|
<title>tidy install by hand</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>
|
2003-12-01 09:29:54 +00:00
|
|
|
Windows users can download the extension dll <filename>php_tidy.dll</filename>
|
2003-11-28 01:42:15 +00:00
|
|
|
from <ulink url="&url.pecl.get.win;">&url.pecl.get.win;</ulink>.
|
|
|
|
</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:"../../../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
|
|
|
|
-->
|