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.

 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.