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
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'installeur 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
Les utilisateurs de windows peuvent télécharger la dll de l'extension sur » http://pecl4win.php.net/ext.php/php_tidy.dll.
En PHP 5 vous avez uniquement besoin de compiler en utilisant l'option --with-tidy.
Installation
13-Apr-2008 07:02
