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!

Removal of PHP 5.6 and PHP 7.0 Question

Discussion in 'EasyApache' started by Amr Rashad, May 15, 2019.

  1. Amr Rashad

    Amr Rashad Registered

    Joined:
    Oct 10, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Hi,

    Regarding the blog post:
    Removal of PHP 5.6 and PHP 7.0 in EasyApache Profiles | cPanel Blog
    The line "If your server is currently using PHP versions 5.6 or 7.0, you will not be affected unless or until the EasyApache 4 profile on your server is updated or reinstalled."
    Does it mean that if after the update i needed to install a new php56 module that would count as an update to the profile and i will lose php56 entirely ?
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,920
    Likes Received:
    167
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    I would assume this just means they are removing all ea4-php56 and ea4-php70 packages from their repositories.

    So you won't be able to install any ea4-php56 or ea4-php70 extensions when this happens.

    PHP 5.6 and PHP 7.0 will continue to work - you just won't get any updates nor will you be able to make any updates or add any extensions to these installs.

    But this is an assumption on my part... how I would do it. But cPanel may mean something different.
     
  3. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    260
    Likes Received:
    31
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    rpm's will continue to be on the cpanel repo servers and you can install php 5.4 - 5.5 - 5.6 and 7.0 on your custom profiles. Currently versions 7.0 and below will not be affected if installed on your server.

    There's nothing to worry about.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,272
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Here's a quote from the blog post with more information about this change:

    The default EasyApache 4 profiles are visible from WHM >> EasyApache 4 as seen in the image below:

    Screen Shot 2019-05-16 at 4.24.29 PM.png

    PHP 5.6 and PHP 7.0 are deselected from each default EasyApache 4 profile as of the most recent EA4 update.

    Thus, PHP versions 5.6 and 7.0 are no longer installed by default with new cPanel & WHM installations. To install them, an administrator can browse to WHM >> EasyApache 4, choose a profile to customize, and toggle PHP 5.6 and/or PHP 7.0 on the PHP Versions section of the EA4 profile customization interface.

    For existing cPanel & WHM servers, PHP 5.6 and/or PHP 7.0 are not automatically removed as of the most recent EA4 update. However, both versions are deselected in each default EasyApache 4 profile as seen in the example below:

    Screen Shot 2019-05-16 at 4.28.10 PM.png

    Thus, if you decide to customize a default EasyApache 4 profile in the future (e.g. suppose you need to enable a PHP extension), you must manually toggle on PHP 5.6 and/or PHP 7.0 to ensure those versions remain installed.

    Keep in mind we are planning on removing PHP versions 5.6 and 7.0 from our EasyApache 4 repositories entirely by cPanel & WHM version 88. It's recommended that you migrate your accounts away from PHP 5.6 and PHP 7.0 before this time.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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