Jump to content

Need help installing Tidy on PHP5.2 Win2k IIS


Recommended Posts

I can't seem to find any info on installing Tidy for PHP 5.2. Most of what I have read indicates that it should already be installed, but even though I've un-commented the "extension=php_tidy.dll" in my php.ini, and restarted IIS my test script doesn't work and Tidy is not displayed in phpinfo.

 

I've searched my hard drive for php_tidy.dll but it doesn't seem to exist.

 

Test script:

<?php

// prints e.g. 'Current PHP version: 4.1.1'

echo 'Current PHP version: ' . phpversion()."<br>";

 

// prints e.g. '2.0' or nothing if the extension isn't enabled

echo 'Current Tidy version: ' .phpversion('tidy');

?>

 

Any help will be greatly appreciated.

 

Thanks for the suggestion: PHPInfo reports D:\PHP\PHP.INI. The following is from that file:

 

[Tidy]

; The path to a default tidy configuration file to use when using tidy

extension=php_tidy.dll

;tidy.default_config = /usr/local/lib/php/default.tcfg

; Should tidy clean and repair output automatically?

; WARNING: Do not use this option if you are generating non-html content

; such as dynamic images

tidy.clean_output = Off

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.