Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Upgrading to PHP 5.2.5

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

  1. webdr

    webdr Member

    Jun 12, 2007
    Likes Received:
    Trophy Points:
    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

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice