Compiling PHP with tidy support
ADDED FLAGS IN COMPILER: --with-tidy
COMPILE ERROR: configure: error: Cannot find libtidy
SOLUTION: yum install libtidy libtidy-devel
Additional Error solutions
http://crybit.com/20-common-php-compilation-errors-and-fix-unix/