W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2006

Using php_tidy in Eclipse causes apache crash

From: Nathan Kirkham <nathankirkham@uk.ibm.com>
Date: Tue, 28 Feb 2006 10:48:58 +0000
To: html-tidy@w3.org
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:   ModName: php5ts.dll
ModVer:    Offset: 000a81ca

      ( I have the windows error dump)

I have added the config to the php.ini file


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.
    /* Specify configuration options as an array */
    $options = array("output-xhtml" => true, "clean" => true);
    $tidy = tidy_parse_file("http://www.yahoo.com/", $options);
    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 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:  nathankirkham@uk.ibm.com

Need Software Services? Notes: EMEA Software Lab Services/UK/IBM or Email:
Received on Tuesday, 28 February 2006 14:14:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:56 UTC