tidy extension is loaded but not working
| From: | Pavel Pragin | Date: | Fri, 04 Jan 2008 18:06:20 +0000 |
| Subject: | tidy extension is loaded but not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-266620@lists.php.net to get a copy of this message | ||
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