Edit report at https://bugs.php.net/bug.php?id=56213&edit=1
ID: 56213 Updated by: nlop...@php.net Reported by: nicolas dot guennoc at edf dot fr Summary: tidy.so not recognized as a valid Zend Extension -Status: Open +Status: Bogus Type: Bug -Package: tidy +Package: *General Issues Operating System: Linux RH 7.2 PHP Version: 4.3.3 Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2004-10-12 10:06:58] nicolas dot guennoc at edf dot fr Description: ------------ Hello, I can't load the tidy php extension. Here is a description of the employed versions of the softwares : - Apache 2.0.49 - PHP 4.3.5 - Linux RedHat 7.2 - tidy-02October2003-1 (RPM build from the last sources of tidy) Here is my PHP configuration line : './configure' '--prefix=/logiciels/apache/apa_2.0.49/php_4.3.5' '--enable-calendar' '--with-config-file-path=/logiciels/apache/apa_2.0.49/php_4.3.5' '--with-apxs2=/logiciels/apache/apa_2.0.49/bin/apxs' '--with-dom=/logiciels/apache/apa_2.0.49/lib/libxml2_2.6.4' '--with-zlib-dir=/logiciels/apache/apa_2.0.49/lib/zlib_1.2.1' '--with-zlib=/logiciels/apache/apa_2.0.49/lib/zlib_1.2.1' '--with-gd' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-dom-xslt=/logiciels/apache/apa_2.0.49/lib/libxslt_1.1.2' '--with-dom-exslt=/logiciels/apache/apa_2.0.49/lib/libxslt_1.1.2' '--with-ldap=/logiciels/apache/apa_2.0.49/lib/old_2.1.22' '--with-mysql=/logiciels/apache/apa_2.0.49/lib/sql_4.0.18' '--with-mm=/logiciels/apache/apa_2.0.49/lib/mm_1.3.0' '--with-iconv=/logiciels/apache/apa_2.0.49/lib/libiconv_1.9.1' '--with-openssl-dir=/logiciels/apache/apa_2.0.49/lib/openssl_0.9.7c' '--with-openssl=/logiciels/apache/apa_2.0.49/lib/openssl_0.9.7c' '--enable-ftp' '--enable-sockets' '--enable-static' '--disable-shared' '--enable-memory-limit'. i've tried the following installations of the extension : - pear installation of tidy 1.1 (using a local download archive, can't go through the auth proxy) - pear installation of tidy 1.0 (using a local download archive, can't go through the auth proxy) - manual installation of tidy 1.1 - manual installation of tidy 1.0 none of them worked. BTW, i'm also using xdebug and mmcache on this installation and they're both working. php.ini : ... Zend_extension="/logiciels/apache/apa_2.0.49/php_4.3.5/lib/php/extensions/no-debug-non-zts-20020429/xdebug.so" Zend_extension="/logiciels/apache/apa_2.0.49/php_4.3.5/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so" Zend_extension="/logiciels/apache/apa_2.0.49/php_4.3.5/lib/php/extensions/no-debug-non-zts-20020429/tidy.so" ... If you wish, i can send you my compiled versions of tidy.so for esasier debugging. Yours sincerely, NG Reproduce code: --------------- <?php ob_start(); ?> <html> <head> <title> </head> <body> </body> </html> <?php $html = ob_get_contents(); ob_end_clean(); var_dump($html); $tidy = tidy_parse_string($html); var_dump($html); ?> Expected result: ---------------- Tidy Module loaded and available Actual result: -------------- Here is the error shown in the error log : /logiciels/apache/apa_2.0.49/php_4.3.5/lib/php/extensions/no-debug-non-zts-20020429/tidy.so doesn't appear to be a valid Zend extension ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=56213&edit=1