RE: [PHP] Tidy installation problem in php 4.3.8
| From: | Lizet Peña de Sola | Date: | Thu, 09 Sep 2004 17:24:26 +0000 |
| Subject: | RE: [PHP] Tidy installation problem in php 4.3.8 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196234@lists.php.net to get a copy of this message | ||
Hello Marek, our webserver is a Unix one, and yes we want to make the
extension available for all users.
Please explain where I need to put the line extension=tidy.so, in the
php.ini file?
I checked that the tidy folder is in the extensions folder...
Thanks in advance,
lizet
>>At the root level you need line:
>>
>>extension=tidy.so
>>
>>depending on your platform.
>>
>>Also make sure that the extension is in extension_dir (check php.ini).
>>Then restart the webserver.
> -----Original Message-----
> From: Marek Kilimajer [mailto:lists@kilimajer.net]
> Sent: Thursday, September 09, 2004 12:42 PM
> To: Lizet Peña de Sola
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Tidy installation problem in php 4.3.8
>
>
>
> Do 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.
>