- From: Nathan Kirkham <nathankirkham@uk.ibm.com>
- Date: Tue, 28 Feb 2006 10:48:58 +0000
- To: html-tidy@w3.org
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: nathankirkham@uk.ibm.com
Need Software Services? Notes: EMEA Software Lab Services/UK/IBM or Email:
labservs@uk.ibm.com
Received on Tuesday, 28 February 2006 14:14:43 UTC