The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to upgrade PHP version?

Discussion in 'General Discussion' started by bleunetizen, Mar 21, 2015.

  1. bleunetizen

    bleunetizen Member

    Joined:
    Jan 27, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I am new to cpanel/whm.. and I am being asked to upgrade the PHP to the latest version.

    I have installed the cpanel/whm (centos) few months ago which was the latest back then, but have not done any updates since then.

    when I go 'php -v' it says my php is 5.4.37, and I am asked to upgrade to 5.6.7 (apparently the latest version.

    How do I accomplish this?


    Thanks :)
     
  2. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You can upgrade php/apache on server using below script:

    /scripts/easyapache

    Once you run above command, you will be prompted to select version for apache/php, apache modules/php modules, etc.
     
  3. bleunetizen

    bleunetizen Member

    Joined:
    Jan 27, 2015
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks for the reply!

    When I run it, it gives me 4 options

    Deafult
    Basic
    MPM ITK
    Mod Ruid2

    What should I choose and what is the difference / what does this actually do? It says 'Upgrade to CloudLinux', what is it actually for?

    Thanks :)
     
  4. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Go with Default >> Customize Profile >> Choose Apache version >> Next >> Choose PHP version >> Next >> Select modules you want to install >> Save and Build.

    It will take time depending upon server configuration.
     
  5. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    use the same configuration you are currently using ** DEFAULT ** will be the last one that was built

    cloud Linux
    http://www.cloudlinux.com/
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page