*** This bug is a duplicate of bug 38510 *** I can confirm this problem. I had to follow the instructions at http://alexfarran.blogspot.com/2006/06/howto-add-libtidy-support-to- php5-in.html in order to compile my own php package for ubuntu.
A royal pain in the putuckus for a one line change. The configure script just needed --with-tidy passed to it. The pain was installing all the dependencies for compiling php, and spending several hours actually compiling php. I agree. --with-tidy should be part of the compiliation for the php5 package for ubuntu, and libtidy should be listed as a dependency. Installing tidy, tidy-doc, libtidy-dev, php5-dev, and php-pear allow you to run the following command: pecl install tidy This compiles and installs tidy.so. If you edit /etc/php5/apache2/php.ini, and add tidy.so as an extension, then phpinfo() lists tidy as an extension, but calls to the tidy class fail anyway. Apparently, tidy must be compiled as part of php5 on Ubuntu, and cannot be loaded correctly as an extension. -- Support for tidy not included (libtidy) in php5 https://launchpad.net/bugs/41690 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs