tidy extension is loaded but not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

 

I am trying to get tidy for php working on my systems.

1.       Got latest  libtidy (libraries) from cvs and compiled/installed
them (no issues)

2.       Got latest php tidy tidy-1.2 from PECL and compiled and
installed (no issues)

3.       Added the tidy extension in to /etc/php.d/tidy.ini

                extension=tidy.so

4.       I restarted apache

 

Here is the output of php -i and php -m commands:

a.

[root@132022-app5 /]# php -i | grep tidy

/etc/php.d/tidy.ini,

tidy

tidy.default_config => no value => no value

tidy-mark => FALSE

 

 b.

[root@132022-app5 /]# php -m | grep tidy

Tidy

 

c.

This is what I see in php info

1.   tidy

Tidy support

enabled

libTidy Build Date 

6 November 2007 

2.     

Directive

Local Value

Master Value

tidy.default_config

no value

no value

 

 

 

 

Problem:

When I run a script with tidy syntax in it I get this error:

Fatal error: Class 'tidy' not found in
/var/www/html/_autodesk.com/aliasdesign/releases/20071226192151/tidy.php
on line 16

 

Please help what I am missing?

 

Thank You

 

 

.

PAVEL PRAGIN 
ppragin@xxxxxxxxxxxxxxx <mailto:ejohansson@xxxxxxxxxxxxxxx>  

T >  650.328.3900
M > 650.521.4377 
F >  650.328.3901 

SolutionSet 
The Brand Technology Company 
http://www.SolutionSet.com <http://www.solutionset.com/>  

PA > 131 Lytton Ave., Palo Alto, CA 94301 
SF > 85 Second St., San Francisco, CA 94105 

 

 


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux