Removal of PHP 5.6 and PHP 7.0 Question

Amr Rashad

Registered
Oct 10, 2017
2
0
1
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 ?
 

sparek-3

Well-Known Member
Aug 10, 2002
2,138
260
388
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.
 

vacancy

Well-Known Member
Sep 20, 2012
556
223
93
Turkey
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

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

Both PHP 5.6 and PHP 7.0 reached End of Life at the beginning of the year, and are no longer receiving any security patches from PHP. With cPanel & WHM Version 80 moving to the current tier, we are also encouraging users to upgrade to supported PHP versions in EasyApache 4. To help with that, we are removing PHP 5.6 and 7.0 from our default EasyApache profiles. This change only impacts servers running our default EasyApache profiles currently, but we are planning on removing PHP versions 5.6 and 7.0 from our EasyApache 4 repositories entirely by Version 88 (anticipated in the second quarter of 2020).
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.