I am very experienced in Apache and PHP on Windows, but now I am working on a FreeBSD server and I know almost nothing about FreeBSD and *nix.
I have to install and enable Tidy for PHP 5. Under Windows it is as easy as downloading the appropriate DLL, modify php.ini and restart the web server. Takes 2 minutes.
After googling a lot, it seems that on FreeBSD I have to download the source code, compile the module, and even recompile PHP as many sites suggest. But these sites presume the reader is experienced in FreeBSD!
How do I compile the module source?
It is really necessary to recompile PHP?
If so, how do I recompile PHP?
Although my question is specifially about Tidy, I will need to install other modules as well. so I am interested in a generel solution if possible.
Please give exact guidings as just saying "recompile this or that" really don't help me on this stage.