php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56213 tidy.so not recognized as a valid Zend Extension
Submitted: 2004-10-12 10:06 UTC Modified: 2012-01-21 11:42 UTC
From: nicolas dot guennoc at edf dot fr Assigned:
Status: Not a bug Package: Tidy (PECL)
PHP Version: 4.3.3 OS: Linux RH 7.2
Private report: No CVE-ID: None
 [2004-10-12 10:06 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-21 11:36 UTC] nlopess@php.net
-Status: Open +Status: Bogus -Package: tidy +Package: *General Issues
 [2012-01-21 11:36 UTC] nlopess@php.net
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.


 [2012-01-21 11:42 UTC] nlopess@php.net
-Package: *General Issues +Package: Tidy
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC