Installing HTML Tidy

Installing HTML Tidy

Posted by: jgd12345
Posted on: 2006-07-27 13:37:00

Hi, i'm trying to install html tidy http://tidy.sourceforge.net. I've followed the tutorial at http://wiki.dreamhost.com/index.php/Installing_PHP5 but i can't get it to work. I managed to connect to SSH and have added --with-tidy to the config part of the script it tells you to run but when i do run it, i get the following error:

--with-tidy: command not found

Appreciate if someone could tell me what i am doing wrong. Thanks

Re: Installing HTML Tidy

Posted by: ardco
Posted on: 2006-07-27 16:38:00

I thought Dreamhost put tidy on most servers, or used to. Ours has the 12 April 2005 version. You could also upload a Linux/x86 binary, and it ought to work, or just ask Support.

Why are you following PHP5 install instructions to install tidy?

What I Like About

Re: Installing HTML Tidy

Posted by: jgd12345
Posted on: 2006-07-27 23:50:00

Hi cheers, unfortunately mine doesn't. I uploaded a phpinfo file to my site and it didn't have tidy in it. I emailed the support crew and they put me in the direction of that tutorial. Only problem is i don't have a clue about this stuff. How do i upload a linux/x86 binary?

Re: Installing HTML Tidy

Posted by: ardco
Posted on: 2006-07-28 15:30:00

> How do i upload a linux/x86 binary?

One way, done from shell prompt ($):

$ mkdir my-tidy
$ cd my-tidy
$ wget http://tidy.sourceforge.net/cf/tidy_linux_x86.tgz
$ tar xvzf tidy_linux_x86.tgz
./bin/tidy
$ cd bin
$ ./tidy -v
HTML Tidy for Linux/x86 released on 1 September 2005


Note: That probably won't make tidy show up in PHPinfo.

> I emailed the support crew and they put me in the direction of that tutorial.

I wonder what you told them you were trying to accomplish, other than install html tidy?

What I Like About

Re: Installing HTML Tidy

Posted by: jgd12345
Posted on: 2006-07-29 09:45:00

Hi, cheers but still no luck. I followed your instructions to the word and didn't get an error but when i uploaded a file with the test script found at http://uk2.php.net/tidy. I received the error:

Fatal error: Class 'tidy' not found in /home/.caroline/flixon/mydomain.com/www/test.php on line 15

Appreciate if you could help, not getting much luck with the support crew. Thanks

Edited by jgd12345 on 07/29/06 09:48 AM (server time).

Re: Installing HTML Tidy

Posted by: jgd12345
Posted on: 2006-08-01 23:41:00

Anyone?

Tags: sourceforge netdreamhosthttpwikiappreciatephp5sshphpindex