PHP 7.x on AlmaLinux9 cPanel 114
Hello,
How we can we install PHP 7.x on the AlmaLinux cPanel 114 as its not showing EasyApache4. Please help us.
Our server info as following:
[root@server1 ~]# cat /etc/redhat-release
AlmaLinux release 9.3 (Shamrock Pampas Cat)
[root@server1 ~]# /usr/local/cpanel/cpanel -V
114.0 (build 12)
[root@server1 ~]# cat /var/cpanel/envtype
standard
-
Our website is compatible with 7.3. Is there any way that we can use on AlmaLinux 9.3 ? This is our fresh new cPanel server. We are planing to migrate site from old cPanel server to this server. 0 -
Not from a cPanel supported perspective - your easiest option is to use CloudLinux which will provide a supported earlier version of PHP, but personally I'd look anyway to update your side code to work with PHP v8 0 -
Thank you for the update. If we reinstall with AlmaLinux8 then can we PHP 7.3 ? It will be good if you please confirm once. 0 -
Yes, from the table linked to above you will get PHP v7.2 onwards, however these are end of life and therefore have an associated security risk. In my opinion your time would be better spent either making the code compatible or running CloudLinux for now (you can switch away from it) to ensure your PHP version is supported. 0 -
Hello, As per your suggestion we have discussed with our developer and decided to upgrade our site with PHP 8.x compatible. Thank you so much. 0 -
Upgrading the site to work with modern PHP is the best option for sure. PHP 8.0 is reaching end of life now already as well. 0 -
You have 3 options; Using Cloudlinux. Using the Imunify360 hardened php feature. Using Almalinux 8. Good luck. 0
Please sign in to leave a comment.
Comments
9 comments