How do I install PHP Version 5.6 on cPanel?
I'm using CentOs and I need to install PHP version 5.6 on my server.
I see the available PHP versions now are (7.1, 7.2 and 7.3) only.
Any advice?
-
Hello @ImperialTrader, PHP version 5.6 was removed from the default EasyApache 4 profiles because it reached end-of-life status (PHP no longer publishes security updates for version 5.6). I recommend updating any PHP scripts that lack compatibility with newer PHP versions at your earliest convenience. If you plan to upgrade your scripts to work with a supported PHP version but need to use PHP 5.6 temporarily, execute the following command as root to install PHP version 5.6: yum install ea-php56
When you're ready to remove it, execute the following command as root:yum remove ea-php56
Thank you.0 -
Hello @ImperialTrader, PHP version 5.6 was removed from the default EasyApache 4 profiles because it reached end-of-life status (PHP no longer publishes security updates for version 5.6). I recommend updating any PHP scripts that lack compatibility with newer PHP versions at your earliest convenience. If you plan to upgrade your scripts to work with a supported PHP version but need to use PHP 5.6 temporarily, execute the following command as root to install PHP version 5.6:
yum install ea-php56
When you're ready to remove it, execute the following command as root:yum remove ea-php56
Thank you.
Perfect, thank you.0 -
how can we do is on almalinux [root@server ~]# yum install ea-php56 -y Last metadata expiration check: 1:47:47 ago on Thu 25 Aug 2022 07:45:51 AM BST. No match for argument: ea-php56 Error: Unable to find a match: ea-php56 0 -
how can we do is on almalinux [root@server ~]# yum install ea-php56 -y Last metadata expiration check: 1:47:47 ago on Thu 25 Aug 2022 07:45:51 AM BST. No match for argument: ea-php56 Error: Unable to find a match: ea-php56
Almalinux 8/Centos 8, php 7.2 and higher versions are supported. You must use cloudlinux to use lower php versions.0 -
I found installing imunify360 solo on Almalinux and enabling hardend PHP installed the backdated PHP versions. 1
Please sign in to leave a comment.
Comments
5 comments