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.

Upgrading to PHP 5.2.5

Discussion in 'General Discussion' started by webdr, Jan 7, 2008.

  1. webdr

    webdr Member

    Joined:
    Jun 12, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    For reasons beyond my control I need to upgrade to PHP 5.2.5 from 5.2.2. I updated Easy::Apache to v3.2 the other day in hopes that it would upgrade PHP as well, which it did not. As well, the Apache mod_frontpage module must be updated from v1.6.1 to current version.

    What is the procedure to make these updates or will cPanel be making these upgrades automatically sometime soon?
     
  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
    Upgrading EasyApache will typically not upgrade any of the components it helps you recompile.

    You will need to recompile Apache/PHP to make use of updated modules and PHP versions (be sure to select PHP 5.2.5 when prompted for which version of PHP 5 you wish to use). Keep in mind, this is a sensitive process that should be actively monitored. Additionally, PHP is notorious for breaking some applications even with dot releases (such as 5.2.3 to 5.2.4). Also, remember this process can take anywhere from a few minutes to the better part of an hour depending on your system and will consume many server resources during this process.

    Upgrading something that is tied into Apache or PHP isn't a matter of simply downloading and installing an application. It's a bit more complex than that. EasyApache just happens to hide most of those complexities from plain view.

    I figured I'd just share some insight as to why this isn't an automatic process. However, you are more than welcome to submit an official feature request for this at http://bugzilla.cpanel.net
     
Loading...

Share This Page