Tidy class not found/rpm issue

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I have installed Tidy on Fedore Core 4.0 using RPM. I have a very
simple script that uses tidy,

<html>a html document</html>
$html = ob_get_clean();
// Specify configuration
/*$config = array(
           'indent'         => true,
           'output-xhtml'   => true,
           'wrap'           => 200);
// Tidy
$tidy = new tidy;
// Output
echo $tidy;
------------end tidy.php--------------------------

-  tidy.so is in /usr/lib/php/modules
- extension=tidy.so is in in /etc/php.ini
- php -m and info.php  shows tidy is installed but tidy.php gives error

PHP Fatal error:  Class 'tidy' not found in tidy.php on line 11

What could I be doing wrong? I am using PHP 5.x.



Site Timeline