ssh - Installing PHP 5.4 on CentOS 6

02
2013-08
  • user196901

    I want to update my CentOS 6 PHP version from 5.3 to 5.4 so I tried this guide: http://www.webtatic.com/packages/php54/

    But after running yum install php54w I get this:

    Setting up Install Process
    No package php54w available.
    Error: Nothing to do
    

    I've tried to reinstall http://repo.webtatic.com/yum/el6/latest.rpm many times, but it didn't seem to help...

    Tips, anyone?

  • Answers
  • user196901

    It seems like /etc/yum.conf has php-* excluded in it... Removed it and it's now solved.


  • Related Question

    linux - Couldn't dual boot Vista and Centos 5.4
  • Questioner

    Today I have installed Centos 5.4 with dual boot with Vista. Everything was fine, but after testing Centos 5.4, when I tried to load Vista, it did not load. After selecting vista from grub menu, it shows the following message:

    rootnoverify (hd0, 1)
    chainloader +1
    
    No bootmgr found
    

    I googled and try to fix the boot but failed, Then I restart my machine, boot with vista cd and in rescue option, restore my bootmgr by typing

    bootrec /fixmbr
    What happened after that, I can load at vista now, but no grub menu shows :P It seems the Centos went totally invisible. I am using dual booting Ubuntu 9.10 and vista in my laptop and its working fine and with no error from the beginning. But installed Centos for one of my project needs and I need it running asap. So I am feeling very helpless. Please help me anyone out there. I know there are many people knows how to fix it. Please help me..

    Thanks in advance.


  • Related Answers
  • Velociraptors

    When you restored the Vista boot manager, you lost Grub. You'll need to recover Grub as described in this answer.