mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-25 05:18:56 +00:00
56 lines
1.5 KiB
XML
56 lines
1.5 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- $Revision: 1.1 $ -->
|
||
|
<section id="tidy.installation">
|
||
|
&reftitle.install;
|
||
|
<para>
|
||
|
Tidy is currently available for PHP 4.3.x and PHP 5 as a PECL
|
||
|
extension. The tidy extension is available from PECL
|
||
|
<ulink url="&url.pecl.package;tidy">&url.pecl.package;tidy</ulink>.
|
||
|
</para>
|
||
|
<para>
|
||
|
If <ulink link="&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</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>
|
||
|
</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
|
||
|
-->
|