mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-26 05:48:57 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@153418 c90b9560-bf6c-de11-be94-00142212c4b1
64 lines
1.7 KiB
XML
64 lines
1.7 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.6 $ -->
|
|
<section id="tidy.installation">
|
|
&reftitle.install;
|
|
<para>
|
|
Tidy is currently available for PHP 4.3.x and PHP 5 as a PECL
|
|
extension from
|
|
<ulink url="&url.pecl.package;tidy">&url.pecl.package;tidy</ulink>.
|
|
</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 <ulink url="&url.php.pear;">PEAR</ulink> is available on your *nix-like
|
|
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 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>
|
|
Windows users can download the extension dll <filename>php_tidy.dll</filename>
|
|
from <ulink url="&url.pecl.get.win;">&url.pecl.get.win;</ulink>.
|
|
</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:"../../../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
|
|
-->
|