Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I got a link saying following steps of installation of PHP 5.4.3.

rpm -Uvh

yum install php54w

Can i use above method safely?

Or any other rpm that i can use?

share|improve this question
What happens when you run yum install php? I think the default Red Hat repository should have PHP... – Breakthrough May 11 '12 at 17:52
yum installs PHP 5.1.6 – P K May 11 '12 at 20:27
up vote 2 down vote accepted

You can use that method if you trust their site.

That rpm command sets up a yum repository pointing to their site and the yum command installs it.

You may need to run yum clean all and yum update after adding the repository.

You could also install from source code from

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .