- Install the Extra Packages for Enterprise Linux repository configuration by running the following. This installs EPEL and configures yum to also use the EPEL repository.
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
- Proceed to install php-tidy as this is provided by the EPEL repository.
yum install php-tidy
This installs php-tidy
- Restart Apache