We help IT Professionals succeed at work.
Get Started

How do I install TIdy for PHP5 on FreeBSD?

flyskyhigh
flyskyhigh asked
on
1,457 Views
Last Modified: 2013-11-22
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.

Thanks.
Comment
Watch Question
sysadmin
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 9 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE