LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 05-15-2008, 01:15 AM   #1
PrimeMogul
LQ Newbie
 
Registered: Apr 2008
Posts: 22

Rep: Reputation: 1
Add tidy to php in RedHat Enterprise 5.1 ??


I like to load tidy dynamically in to my newly built Enterprise 5.1 server. I read that in fedora you can use

yum install php-tidy

bu I get "No Match for argument: php-tidy" (but it did have others like php-gd). In fact, I can't even find a way to install tidy using yum. so how do I get the necessary files (tidy.so?)
 
Old 05-15-2008, 09:16 AM   #2
PAix
Member
 
Registered: Jul 2007
Location: United Kingdom, W Mids
Distribution: SUSE 11.0 as of Nov 2008
Posts: 195

Rep: Reputation: 40
To the tune of "Google is your Friend". Try
Quote:
php-tidy red hat
The answer appears to be in the first half-dozen entries of a global search. It should answer your question:.
Quote:
so how do I get the necessary files (tidy.so?)
The information appears to date from approx February 2008, so I guess that solves for the where. Time to test your intuition now.
 
Old 05-16-2008, 02:11 AM   #3
PrimeMogul
LQ Newbie
 
Registered: Apr 2008
Posts: 22

Original Poster
Rep: Reputation: 1
Ah, but I am asking because I aleady tried five of those and failed. I could not figure out how to find the right rpm. All I tried were missing dependencies of course, but in each of those I tried, it requested a different version of php-common than supplied by yum on my system. I was not sure what trouble would be caused by installing one that conflicted with the one provided by yum. Other pages suggested use pear, my pear said use pecl, and then pecl failed.
 
Old 05-16-2008, 06:26 AM   #4
PAix
Member
 
Registered: Jul 2007
Location: United Kingdom, W Mids
Distribution: SUSE 11.0 as of Nov 2008
Posts: 195

Rep: Reputation: 40
Fair comment, I think that I understand slightly better now. Do you get any change out of searching CentOS 5.1 repositories, or does the same problem exist?
I am of course hoping that someone with Red Hat CentOS experience passes this way sometime soon. The only reason for suggesting CentOS, is that it it essentially the same product, but therefore may have the same lack of rpm.

Beyond that, using an alien rpm is risking a descent into rpm hell - I don't think that you want to go there. Sorry I haven't been of much real help to you. Good luck. I'll keep looking.
 
Old 05-16-2008, 10:02 AM   #5
PrimeMogul
LQ Newbie
 
Registered: Apr 2008
Posts: 22

Original Poster
Rep: Reputation: 1
I got it. Not sure I did the best thing: I was able to make pecl work with "yum install php-devel", then I manually installed tidy on the system from a source tarball, then I could "pecl install tidy," finally adding a new tidy.ini to /etc/php.d and restarting apache...

Just seems there is an easier aproach. (And I'd like to learn how to find the right RPM.)
 
  


Reply

Tags
php, tidy, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add a scsi disk in RedHat Enterprise Linux v 4 LotharIrausquin Linux - Enterprise 3 04-04-2008 08:37 PM
PHP redhat enterprise 5 vecc911 Linux - Newbie 1 02-11-2008 12:31 PM
LXer: Tidy URL Rewrites with PHP LXer Syndicated Linux News 0 02-21-2007 11:46 PM
update redhat enterprise to php 5.0.2 ltbaggz Red Hat 3 11-29-2006 09:43 AM
HTML Tidy and PHP 4 atom Programming 0 10-01-2004 11:06 AM


All times are GMT -5. The time now is 01:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration