安装

This extension is bundled with PHP, and is installed using the --with-tidy configure option.

add a noteadd a note

User Contributed Notes 2 notes

up
-14
Anonymous
8 years ago
On Redhat-ish linux, you must install both libtidy and libtidy-devel (PHP 5.x):
sudo yum install libtidy libtidy-devel
up
-23
krzysztof at madejscy dot pl
4 years ago
On Ubuntu 17.10 and php 7.1:
sudo apt install libtidy-dev libtidy5 php-tidy

备份地址:http://www.lvesu.com/blog/php/tidy.installation.php