PHP 5.1.6 + tidy 1.2 module
I'm having some issues with php and the tidy module. I'm trying to figure out if this is a bug or not. I'm hoping someone else running 5.1.6 could help me verify this.
Now, we assume we've loaded tidy.so via php.ini (or php.d or whatever) so that php loads tidy when started. The bottom line, tidy is registered and tidy information appears in phpinfo. We assume all is good. Here are my tests scripts..... Code block one indicates that the tidy extension is loaded: Code:
<?php The 2nd code block fails. Code:
<? Code:
[Wed Aug 20 14:49:01 2008] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Class 'tidy' \\ Server Software info: Fedora Core 6 php-devel 5.1.6-3.7.fc6 php 5.1.6-3.7.fc6 libtidy-devel 0.99.0-14.20070615.el5 libtidy 0.99.0-14.20070615.el5 From here I first tried installing and using: tidy 0.99.0-14.20070615.el5 php-tidy 5.1.6-4.fc6 After that kept failing, I removed tidy and php-tidy and installed tidy with PEAR ('pecl install tidy'). Both fail. In any case, if anyone has some time, I'd appreciate input. Thanks. |
Well, I solved this. I ended up forcing an upgrade to 5.2.6 on the server compiling from source. Took more time than I wanted but at least I got an upgrade out of it.
|
All times are GMT -5. The time now is 05:48 PM. |