Tidy2.0扩展

时间:2010-08-20 02:52:15

标签: php tidy php-extension htmltidy

所以我想按照本指南在我的Karmic上安装Tidy2.0: http://www.howtoforge.com/forums/archive/index.php/t-7395.html

我认为一切都会奏效,但似乎Tidy2.0的来源不再存在: http://support.office-shadow.com/installer/tidy2.0.tar.gz

该网站仍然存在(office-shadow.com,即),但似乎他们不再主持扩展。因此,我希望有人能把它放在盒子的某个地方。请?帮助

感谢。

1 个答案:

答案 0 :(得分:1)

sudo aptitude install php5-dev libtidy-dev
#you may have to install other libs, like gcc, build-essential, etc.
#see the guides on how to compile PHP, for instance
svn co http://svn.php.net/repository/php/php-src/branches/PHP_5_3/ext/tidy/
cd tidy
phpize
./configure
make
sudo make install

基本上,我只是将http://support.office-shadow.com/installer/tidy2.0.tar.gz替换为存储库位置。如果您使用的是PHP 5.2,请将PHP_5_3替换为PHP_5_2。