Re: Tidy installation problem in php 4.3.8
| From: | Marek Kilimajer | Date: | Thu, 09 Sep 2004 16:41:37 +0000 |
| Subject: | Re: Tidy installation problem in php 4.3.8 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196227@lists.php.net to get a copy of this message | ||
Lizet Peña de Sola wrote:
Hi all, I need to use tidy for cleaning up html in my project, our hosting company has php 4.3.8, so we need to install tidy and make the installation again. After several times, the configure and make commands replied no error, however, the phpinfo() doesn't show the package as installed and when we run the function ini_set() to set the tidy constants in the php.ini file, it returns nothing, also any call to the tidy library functions gives error...any ideas of why this isn't working? After a succesfull installation, is there any enviroment constant we can check or should set? Thanks a lot in advance, LizetDo you mean you installed tidy php module on your hosting company server? Then you need to load the module using dl(): if (!extension_loaded('tidy')) { if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) {
dl('/path/to/php_tidy.dll');
} else {
dl('/path/to/tidy.so');
}
}
Loading extensions might be disalowed by your hosting company.