Please help! Add me to the list of users that are being caused major problems by this bug. The Ubuntu php5 and libapache2-mod-php5 packages that are a part of the Ubuntu LAMP server DO NOT include tidy, even though tidy is now a default part of the PHP distribution.
I am writing scripts that are dependent on tidy as part of php5. Installing the PECL extension on an Ubuntu LAMP server DOES NOT work correctly. tidy.so gets compiled and installed. You can then add tidy.so to the /etc/php5/apache2/php.ini file and restart the Apache2 server. Tidy shows up in phpinfo(), but does not work correctly when called from a script. In other words, installing the PECL tidy extension no longer works either. I had to follow the instructions at http://alexfarran.blogspot.com/2006/06/howto-add-libtidy-support-to-php5-in.html to compile my own php5 package. This takes hours to do, even though it is essentially a one-line diff in code, because compiling all the php packages takes so long. --with-tidy needs to be part of the COMMON_CONFIG in the php5 package in the debian/rules file before compiling. tidy needs to be listed as a dependency of the php5 package as well (which includes libtidy-0.99-0 as a dependency). libtidy-dev needs to be listed as a build dependency of the php5 package also. Tidy is now a part of the default PHP distribution, and therefore should be part of the default Ubuntu php5 package. Not including it SEVERELY limits the portability of PHP scripts using tidy, especially since apt-get upgrade replaces the libapache2-mod-php5 package with a module without tidy. This makes the LAMP server very easy to accidently break. -- Chuck -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]