Nothing to compile under Ubuntu Hardy 8.04 with PHP 5: Just look for package
php5-tidy,
install, restart Apache2 and enjoy!
Installation
Tidy est actuellement disponible pour PHP 4.3.x et PHP 5 en tant qu'extension PECL. L'extension est disponible sur » http://pecl.php.net/package/tidy.
Note: Tidy 1.0 fonctionne juste avec PHP 4.3.x, alors que Tidy 2.0 ne fonctionne que avec PHP 5.
Si » PEAR est disponible sur votre système Unix ou Linux vous pouvez utiliser l'installeurs PEAR pour avoir l'extension tidy, avec la commande suivante : pear install tidy.
Vous pouvez aussi télécharger l'archive tar.gz et installer tidy à la main :
Exemple #1 Installation de tidy à la main pour PHP 4.3.x
gunzip tidy-xxx.tgz tar -xvf tidy-xxx.tar cd tidy-xxx phpize ./configure && make && make install
En PHP 5 vous avez uniquement besoin de compiler en utilisant l'option --with-tidy.
Installation
Anonymous
19-Jan-2009 12:59
19-Jan-2009 12:59
spaceman at skipthispart dot foo dot at
13-Apr-2008 05:02
13-Apr-2008 05:02
If you're having trouble installing the Tidy2 extension on Ubuntu Dapper for PHP 5, take a look at this thread in the support forums:
http://ubuntuforums.org/showthread.php?t=195636
In summary:
* there is an extra "make clean" step required between "configure" and "make"
* depending on your setup, you may need to install a couple of other packages before you can install tidy:
build-essential, php5-dev and/or php5-cli, libtidy, libtidy-dev
