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.

Guide to upgrade Apache, PHP an MySQL to latest

Discussion in 'EasyApache' started by masterross, Nov 10, 2007.

  1. masterross

    masterross Member

    Joined:
    Apr 7, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I want to upgrade Apache, PHP an MySQL to latest version (Apache2.x, PHP5.x, MySQL5.x)

    Please guide me now to do it!
    Currently my server running:

    WHM 11.2.0 cPanel 11.11.0-S16999
    CENTOS Enterprise 4.5 i686 - WHM X v3.1.0

    Apache 1.3.39
    PHP 4.4.7
    MySQL 4.1.22


    Thx in advance!
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    To Upgrade MySQL to 5.0:

    Go to WHM -> Server Configuration -> Tweak Settings -> MySQL(R) and for the setting labeled MySQL® Version to use (you must run Software/Update Server Software (or /scripts/mysqlup) for this to take effect. You should then run buildapache/easyapache after changing this option. You may also need to run /scripts/perlinstaller --force Bundle::DBD::mysql. Updating from a previous version of MySQL® to a later version is not automatically reversable. You should backup your databases if you think you might wish to downgrade in the future. select 5.0.

    Then click the save button at the bottom of the page. For this upgrade to
    actually take place, you will need to go to update the software by going to WHM
    -> Software -> Update System Software
    and following the on-screen
    instructions (or run /scripts/mysqlup from SSH as root).

    To ensure PHP and Apache are aware that you are using MySQL 5 instead of 4,
    recompile PHP and Apache by going to WHM -> Apache -> Apache Update and
    follow the on-screen instructions to rebuild based upon your current
    configuration.

    On rare occasion, Perl scripts relying on MySQL may begin malfunctioning. If
    this starts happening, run /scripts/perlinstaller --force Bundle::DBD::mysql
    via SSH as root.


    To Upgrade PHP and Apache:

    Go to WHM -> Software -> Apache update and follow the on-screen instructions to proceed with customization. You will be prompted for which version of PHP and Apache you wish to use during this process.
     
  3. masterross

    masterross Member

    Joined:
    Apr 7, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    all gone ok exept changing Apache version.
    where can I select 2.x instead of 1.x ??????

    thanks
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you are using one of the latest builds of cPanel 11 EDGE, CURRENT or RELEASE, there is a screen for this (I believe it's the first one after you proceed to customize things).

    If you are on STABLE, you cannot do this at this time.
     
  5. masterross

    masterross Member

    Joined:
    Apr 7, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    hi
    yes i'm using stable!
    than i should wait for new STABLE release :)

    thx
     
Loading...

Share This Page