Using php_tidy in Eclipse causes apache crash

Nathan Kirkham <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <OF405F6E42.EA8942BB-ON80257123.003B2C7C-80257123.003B6A48@uk.ibm.com>
I'm trying to use the HTML tidy library within my code, but when I do I get
a crash of the apache.exe - Can you help?

Crash infomation :-
AppName: apache.exe      AppVer: 2.2.0.0   ModName: php5ts.dll
ModVer: 5.1.1.1    Offset: 000a81ca

      ( I have the windows error dump)

I have added the config to the php.ini file

extension=php_tidy.dll

I on Windows XP, installed XAMPP 1.5.1 (which provided apache,PHP,mysql )
and am using Eclipse 3.1.2 I'm running PHP Version 5.1.1

My PHP_Info output is as follows
Tidy support enabled
libTidy Release  1st July 2004
Extension Version  2.0 ($Id: tidy.c,v 1.71 2005/11/14 21:52:27 tony2001 Exp
$)


I have the tidy dll in the extension directory, and
It blows on the tidy_Parse_file line.
<?php
    /* Specify configuration options as an array */
    $options = array("output-xhtml" => true, "clean" => true);
    $tidy = tidy_parse_file("http://www.yahoo.com/", $options);
    tidy_clean_repair($tidy);
    echo $tidy;
?>

I can happily use the HTML Tidy features within eclipse

Any thoughts on what I have done wrong would be much appreciated.

Nathan
----------

Nathan Kirkham
Pan EMEA Software Lab Services
IBM Hursley, Winchester, SO21 2JN
External: 44-(0)1962 818126  Internal: 248126
Notes: Nathan Kirkham/UK/IBM/IBM@IBMGB
email/sametime:  [email protected]

Need Software Services? Notes: EMEA Software Lab Services/UK/IBM or Email:
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.