I have an existing installation of PHP5 on my RHEL server. It's managed via yum, so security updates are applied as usual.

I have need for HTML Tidy functionality, and was dismayed to learn that there (seemingly) is not a php5 extension available, and that (seemingly) the only way to get it is to compile php --with -tidy. Zapping my yum-managed php installation and compiling just to get tidy functionality seems excessive.

Are there other methods for getting HTML Tidy integrated with php5 that I'm not finding?


Edited with answer:

Thanks to cyberx86 (from comments below) for the suggestion of enabling EPEL and grabbing the php-tidy package there.

Steps:

[shell]# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm [shell]# yum install php53-tidy.x86_64

Done and thanks.

link|improve this question

50% accept rate
If you don't have an objection to using the EPEL repository (fully compatible with RHEL), it supplies the php-tidy extension which is probably what you need. The current version is compatible with PHP 5.3.3 – cyberx86 Dec 21 '11 at 18:13
Thanks cyberx, I'll give that a looking over. – a coder Dec 21 '11 at 19:25
That did the trick - added answer to question. thanks. – a coder Dec 21 '11 at 19:57
@cyberx86 - please post what you have as an actual answer so that coder can mark it as accepted – Mark Henderson Dec 21 '11 at 20:01
feedback

1 Answer

If you don't have an objection to using the EPEL repository (fully compatible with RHEL), it supplies the php-tidy extension which is probably what you need. The current version is compatible with PHP 5.3.3

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.