{"id":293,"date":"2016-02-26T14:43:57","date_gmt":"2016-02-26T19:43:57","guid":{"rendered":"http:\/\/underhost.com\/blog\/?p=293"},"modified":"2025-03-12T05:26:37","modified_gmt":"2025-03-12T09:26:37","slug":"updated-2025-php-version-support-on-cpanel-servers","status":"publish","type":"post","link":"https:\/\/underhost.com\/blog\/updated-2025-php-version-support-on-cpanel-servers\/","title":{"rendered":"[Updated 2025] PHP Version Support on cPanel Servers"},"content":{"rendered":"<h2> PHP Version Support on cPanel Servers in 2025<\/h2>\n<p><strong>Note:<\/strong> This post has been updated to reflect the latest PHP versions available in cPanel via EasyApache 4. PHP 7 and older versions are no longer supported, and using them may expose your site to security risks.<\/p>\n<h3>PHP Versions Available in EasyApache 4 (2025)<\/h3>\n<p>The table below outlines the PHP versions available in cPanel, based on your server&#8217;s operating system:<\/p>\n<table border=\"1\" cellpadding=\"5\">\n<tr>\n<th>PHP Version<\/th>\n<th>CentOS 7<\/th>\n<th>EL 8<\/th>\n<th>EL 9<\/th>\n<th>Ubuntu 20<\/th>\n<th>Ubuntu 22<\/th>\n<\/tr>\n<tr>\n<td><strong>5.4 \u2013 7.1<\/strong><\/td>\n<td>Available, End-of-Life<\/td>\n<td>Not Available<\/td>\n<td>Not Available<\/td>\n<td>Not Available<\/td>\n<td>Not Available<\/td>\n<\/tr>\n<tr>\n<td><strong>7.2 \u2013 7.4<\/strong><\/td>\n<td>Available, End-of-Life<\/td>\n<td>Available, End-of-Life<\/td>\n<td>Not Available<\/td>\n<td>Available, End-of-Life<\/td>\n<td>Not Available<\/td>\n<\/tr>\n<tr>\n<td><strong>8.0<\/strong><\/td>\n<td>Available, End-of-Life<\/td>\n<td>Available, End-of-Life<\/td>\n<td>Available, End-of-Life<\/td>\n<td>Available, End-of-Life<\/td>\n<td>Not Available<\/td>\n<\/tr>\n<tr>\n<td><strong>8.1<\/strong><\/td>\n<td>Installed, Patches<\/td>\n<td>Installed, Patches<\/td>\n<td>Installed, Patches<\/td>\n<td>Installed, Patches<\/td>\n<td>Installed, Patches<\/td>\n<\/tr>\n<tr>\n<td><strong>8.2<\/strong><\/td>\n<td>Installed, Supported<\/td>\n<td>Installed, Supported<\/td>\n<td>Installed, Supported<\/td>\n<td>Installed, Supported<\/td>\n<td>Installed, Supported<\/td>\n<\/tr>\n<tr>\n<td><strong>8.3<\/strong><\/td>\n<td>Available, Supported<\/td>\n<td>Available, Supported<\/td>\n<td>Available, Supported<\/td>\n<td>Available, Supported<\/td>\n<td>Available, Supported<\/td>\n<\/tr>\n<tr>\n<td><strong>8.4<\/strong><\/td>\n<td>Not Available<\/td>\n<td>Available, Supported<\/td>\n<td>Available, Supported<\/td>\n<td>Not Available<\/td>\n<td>Available, Supported<\/td>\n<\/tr>\n<\/table>\n<h3> PHP Version Flexibility with CloudLinux on UnderHost<\/h3>\n<p>At <a href=\"https:\/\/underhost.com\/shared-hosting.php\">UnderHost<\/a>, we use <strong>CloudLinux<\/strong> on all our shared hosting plans. This allows our customers to choose from multiple PHP versions:<\/p>\n<ul>\n<li><strong>PHP 5.6<\/strong> (For legacy applications)<\/li>\n<li><strong>PHP 7.x<\/strong> (No longer recommended but available for compatibility)<\/li>\n<li><strong>PHP 8.0, 8.1, 8.2, 8.3<\/strong> (Recommended for modern websites)<\/li>\n<li><strong>PHP 8.4<\/strong> (Available for early adopters)<\/li>\n<\/ul>\n<p>Using CloudLinux, you can switch between PHP versions directly from your cPanel, ensuring compatibility with your applications.<\/p>\n<h3> How to Upgrade PHP in cPanel<\/h3>\n<p>To upgrade your PHP version in cPanel:<\/p>\n<ol>\n<li>Log in to your cPanel account.<\/li>\n<li>Go to <strong>Software<\/strong> \u2192 <strong>Select PHP Version<\/strong>.<\/li>\n<li>Choose the PHP version you need (PHP 8.2 or 8.3 recommended).<\/li>\n<li>Click <strong>Set as Current<\/strong> to apply the changes.<\/li>\n<\/ol>\n<h3> Upgrade PHP via SSH (For Root Users)<\/h3>\n<p>If you have root access to your cPanel server, you can upgrade PHP using EasyApache 4:<\/p>\n<pre><code>yum install ea-php82<\/code><\/pre>\n<p>Replace <code>ea-php82<\/code> with <code>ea-php83<\/code> if you want the latest version.<\/p>\n<h3> Need Assistance? @CustomerPanel Can Help<\/h3>\n<p>Upgrading PHP can sometimes cause compatibility issues with older scripts. If you need expert assistance, our <a href=\"https:\/\/customerpanel.ca\/client\">UnderHost Support<\/a> team is here to help. We also offer <a href=\"https:\/\/underhost.com\/managed-business-hosting.php\">managed hosting<\/a> with automatic PHP updates and full server management.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog post has been updated! PHP 7 is now obsolete, and cPanel officially supports PHP 8.1, 8.2, and 8.3. At UnderHost, we use CloudLinux on our shared servers, allowing customers to select PHP versions from 5.6 up to 8.4. Learn more about supported versions and how to upgrade via EasyApache 4.<\/p>\n","protected":false},"author":1,"featured_media":4853,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,3],"tags":[],"class_list":["post-293","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","category-controlpanel"],"_links":{"self":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/comments?post=293"}],"version-history":[{"count":9,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":5152,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/293\/revisions\/5152"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/media\/4853"}],"wp:attachment":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/media?parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/categories?post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/tags?post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}