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
Instalación
Tidy is currently available for PHP 4.3.x and PHP 5 as a PECL extension from » http://pecl.php.net/package/tidy.
Note: Tidy 1.0 is just for PHP 4.3.x, while Tidy 2.0 is just for PHP 5.
If » PEAR is available on your *nix-like system you can use the pear installer to install the tidy extension, by the following command: pecl install tidy.
You can always download the tar.gz package and install tidy by hand:
Example #1 tidy install by hand in PHP 4.3.x
gunzip tidy-xxx.tgz tar -xvf tidy-xxx.tar cd tidy-xxx phpize ./configure && make && make install
Windows users can download the extension dll from » http://pecl4win.php.net/ext.php/php_tidy.dll.
In PHP 5 you need only to compile using the --with-tidy option.
Instalación
spaceman at skipthispart dot foo dot at
13-Apr-2008 10:02
13-Apr-2008 10:02
