Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm

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
2  
yum installs PHP 5.1.6 –  P K May 11 '12 at 20:27

1 Answer 1

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 http://php.net.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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