Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > tidy extension is loaded but not working
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 8th November 03:49
ppragin
External User
 
Posts: 1
Default tidy extension is loaded but not working



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@solutionset.com <mailto:ejohansson@solutionset.com>

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
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666