{"id":293,"date":"2016-02-26T14:43:57","date_gmt":"2016-02-26T19:43:57","guid":{"rendered":"http:\/\/underhost.com\/blog\/?p=293"},"modified":"2026-10-23T08:56:06","modified_gmt":"2026-10-23T12:56:06","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":"PHP Version Support on cPanel Servers: Supported Versions and How to Upgrade (October 2026)"},"content":{"rendered":"<div class=\"uh-blog-hero\" style=\"margin:0 0 40px;text-align:center;padding:48px 24px;border-radius:20px;background:linear-gradient(135deg,#0D1F3C 0%,#125A8A 58%,#176EA5 100%);color:#ffffff;box-shadow:0 20px 40px -15px rgba(13,31,60,0.28);position:relative;overflow:hidden;\">\n<div style=\"display:inline-flex;align-items:center;gap:8px;padding:7px 14px;margin-bottom:16px;border:1px solid rgba(0,212,255,0.32);border-radius:999px;color:#DFF8FF;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:rgba(0,212,255,0.10);\"><i class=\"fas fa-sliders-h\" style=\"color:#00D4FF;\"><\/i> Control Panels<\/div>\n<h1 style=\"color:#ffffff;font-size:clamp(32px,5vw,46px);line-height:1.12;margin:0 0 14px;font-weight:800;\">PHP Version Support on cPanel Servers: Supported Versions and How to Upgrade (October 2026)<\/h1>\n<p style=\"font-size:18px;color:#EAF6FF;max-width:800px;margin:0 auto;line-height:1.7;\">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<\/div>\n<div style=\"background:#FFF7ED;border:1px solid #FDBA74;border-radius:16px;padding:20px 22px;margin:24px 0;\">\n<h3 style=\"margin:0 0 10px;color:#9A3412;font-size:20px;\"><i class=\"fas fa-exclamation-triangle\" style=\"color:#F97316;\"><\/i> Updated 21 October 2026.<\/h3>\n<p style=\"margin:0;color:#7C2D12;line-height:1.7;\">PHP released a critical security release on 21 October 2026 (PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35). It fixes two vulnerabilities that can allow unauthenticated remote code execution. Read the full steps in our <a href=\"https:\/\/underhost.com\/blog\/php-security-release-october-2026-patch-guide\/\">PHP critical security update guide<\/a>.<\/p>\n<\/div>\n<div class=\"uh-blog-excerpt\" style=\"border-left:4px solid #00D4FF;padding:18px 20px;margin:0 0 34px;background:#F8FAFC;color:#1F2937;border-radius:0 14px 14px 0;box-shadow:0 8px 28px rgba(13,31,60,0.08);line-height:1.75;\"><strong style=\"color:#0D1F3C;\">Short answer:<\/strong> On 21 October 2026, PHP 8.5, 8.4, 8.3 and 8.2 still receive security fixes. PHP 8.2 reaches end of life on 31 December 2026, and PHP 8.1 and older no longer receive any fixes. On a cPanel server, install the newest versions in EasyApache 4, check which version each domain uses in MultiPHP Manager, test your sites, and move every site off end-of-life versions.<\/div>\n<nav aria-label=\"Table of contents\" class=\"uh-toc\" style=\"background:#ffffff;border:1px solid #E5E7EB;border-radius:16px;padding:20px 22px;margin:0 0 34px;box-shadow:0 4px 12px rgba(13,31,60,0.08);\">\n<div style=\"font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#176EA5;margin-bottom:10px;\"><i class=\"fas fa-list\" style=\"color:#00D4FF;\"><\/i> In this guide<\/div>\n<ol style=\"margin:0;padding-left:20px;columns:2 260px;column-gap:28px;line-height:1.9;\">\n<li><a href=\"#supported-php-versions\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Supported PHP versions<\/a><\/li>\n<li><a href=\"#which-version-should-you-use\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Which version should you use?<\/a><\/li>\n<li><a href=\"#check-which-versions-your-server-and-sites-use\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Check which versions your server and sites use<\/a><\/li>\n<li><a href=\"#install-a-newer-php-version\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Install a newer PHP version<\/a><\/li>\n<li><a href=\"#move-a-site-to-the-new-version\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Move a site to the new version<\/a><\/li>\n<li><a href=\"#keep-php-up-to-date\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Keep PHP up to date<\/a><\/li>\n<li><a href=\"#remove-versions-you-no-longer-use\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">Remove versions you no longer use<\/a><\/li>\n<li><a href=\"#php-8-6\" style=\"color:#176EA5;text-decoration:none;font-weight:600;\">PHP 8.6<\/a><\/li>\n<\/ol>\n<\/nav>\n<div class=\"uh-post-content\" style=\"color:#1F2937;font-size:16px;line-height:1.75;\">\n<h2 id=\"supported-php-versions\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-angle-double-right\" style=\"color:#00D4FF;\"><\/i> Supported PHP versions<\/h2>\n<p style=\"margin:0 0 18px;\">Dates are taken from the supported-versions page on php.net, as checked on 21 October 2026.<\/p>\n<div style=\"overflow-x:auto;margin:26px 0;border:1px solid #E5E7EB;border-radius:14px;-webkit-overflow-scrolling:touch;\">\n<table style=\"width:100%;border-collapse:collapse;background:#ffffff;color:#1F2937;font-size:15px;line-height:1.55;margin:0;min-width:600px;\">\n<thead>\n<tr style=\"background:#0D1F3C;color:#fff;\">\n<th style=\"padding:14px;text-align:left;\">PHP branch<\/th>\n<th style=\"padding:14px;text-align:left;\">Status (21 Oct 2026)<\/th>\n<th style=\"padding:14px;text-align:left;\">Security support until<\/th>\n<th style=\"padding:14px;text-align:left;\">Latest release<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">8.5<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Active support<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">31 Dec 2029<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">8.5.12 (21 Oct 2026)<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">8.4<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Active support (until 31 Dec 2026)<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">31 Dec 2028<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">8.4.27 (21 Oct 2026)<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">8.3<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Security fixes only<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">31 Dec 2027<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">8.3.36 (21 Oct 2026)<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">8.2<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Security fixes only (until 31 Dec 2026)<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">31 Dec 2026<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">8.2.35 (21 Oct 2026)<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">8.1 and older<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">End of life<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">None<\/td>\n<td style=\"padding:14px;border-top:1px solid #E5E7EB;vertical-align:top;\">Upgrade<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p style=\"margin:0 0 18px;\"><strong>Active support<\/strong> means bug fixes and security fixes. <strong>Security fixes only<\/strong> means the branch gets only security releases. After the security date, the branch gets nothing, so any new vulnerability stays open.<\/p>\n<h2 id=\"which-version-should-you-use\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-info-circle\" style=\"color:#00D4FF;\"><\/i> Which version should you use?<\/h2>\n<ul style=\"margin:0 0 24px;padding-left:22px;\">\n<li style=\"margin:0 0 8px;\"><strong>New sites:<\/strong> PHP 8.4 or 8.5, if your application supports it.<\/li>\n<li style=\"margin:0 0 8px;\"><strong>Existing sites:<\/strong> the newest version your application and plugins support. PHP 8.3 is a safe choice for most WordPress and Joomla sites today.<\/li>\n<li style=\"margin:0 0 8px;\"><strong>Sites on PHP 8.2:<\/strong> plan the move before 31 December 2026.<\/li>\n<li style=\"margin:0 0 8px;\"><strong>Sites on 8.1 or older:<\/strong> upgrade now. They run without security fixes.<\/li>\n<\/ul>\n<h2 id=\"check-which-versions-your-server-and-sites-use\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-clipboard-check\" style=\"color:#00D4FF;\"><\/i> Check which versions your server and sites use<\/h2>\n<p style=\"margin:0 0 18px;\">In WHM, open <strong>Software &gt; MultiPHP Manager<\/strong>. It lists every domain with its PHP version and the server default. Over SSH:<\/p>\n<pre style=\"background:#0D1F3C;color:#EAF6FF;padding:18px 20px;border-radius:14px;overflow-x:auto;line-height:1.7;font-size:15px;\"><code># PHP versions installed through EasyApache 4\nwhmapi1 php_get_installed_versions\n\n# PHP version used by each domain\nwhmapi1 php_get_vhost_versions | grep -E \"vhost|version\"\n\n# Exact release of one version\n\/opt\/cpanel\/ea-php84\/root\/usr\/bin\/php -v<\/code><\/pre>\n<p style=\"margin:0 0 18px;\">Account owners can see and change their own version in cPanel under <strong>Software &gt; MultiPHP Manager<\/strong>, or in <strong>Select PHP Version<\/strong> on CloudLinux servers.<\/p>\n<h2 id=\"install-a-newer-php-version\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-terminal\" style=\"color:#00D4FF;\"><\/i> Install a newer PHP version<\/h2>\n<ol style=\"margin:0 0 24px;padding-left:22px;\">\n<li style=\"margin:0 0 8px;\">In WHM, open <strong>Software &gt; EasyApache 4<\/strong>.<\/li>\n<li style=\"margin:0 0 8px;\">Click <strong>Customize<\/strong> on the current profile.<\/li>\n<li style=\"margin:0 0 8px;\">Open <strong>PHP Versions<\/strong> and tick the new version, for example <code>ea-php84<\/code>.<\/li>\n<li style=\"margin:0 0 8px;\">Open <strong>PHP Extensions<\/strong> and add the extensions your sites need for the new version, such as mysqlnd, gd, intl, mbstring, xml, zip and opcache.<\/li>\n<li style=\"margin:0 0 8px;\">Review and provision the changes.<\/li>\n<\/ol>\n<p style=\"margin:0 0 18px;\">For CloudLinux servers, see our <a href=\"https:\/\/underhost.com\/blog\/optimizing-php-performance-in-cloudlinux-with-php-selector\/\">PHP Selector guide<\/a>.<\/p>\n<h2 id=\"move-a-site-to-the-new-version\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-angle-double-right\" style=\"color:#00D4FF;\"><\/i> Move a site to the new version<\/h2>\n<ul style=\"list-style:none;padding-left:0;\">\n<li style=\"margin:0 0 8px;\">\u2713 Read the migration notes for the target version on php.net, especially removed and deprecated features.<\/li>\n<li style=\"margin:0 0 8px;\">\u2713 Check that your CMS, theme and plugins support the new version.<\/li>\n<li style=\"margin:0 0 8px;\">\u2713 Take a backup of the files and database.<\/li>\n<li style=\"margin:0 0 8px;\">\u2713 Test on a staging copy, or switch during a quiet time.<\/li>\n<li style=\"margin:0 0 8px;\">\u2713 Switch the version in MultiPHP Manager, then open the main pages and check the error log.<\/li>\n<li style=\"margin:0 0 8px;\">\u2713 Copy custom settings, such as memory_limit and upload limits, in MultiPHP INI Editor for the new version.<\/li>\n<\/ul>\n<h2 id=\"keep-php-up-to-date\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-angle-double-right\" style=\"color:#00D4FF;\"><\/i> Keep PHP up to date<\/h2>\n<p style=\"margin:0 0 18px;\">EasyApache 4 PHP packages update with the normal system updates. Make sure updates run, and restart PHP-FPM after security releases. When a critical release comes out, follow the steps in our <a href=\"https:\/\/underhost.com\/blog\/php-security-release-october-2026-patch-guide\/\">PHP security update guide<\/a>.<\/p>\n<pre style=\"background:#0D1F3C;color:#EAF6FF;padding:18px 20px;border-radius:14px;overflow-x:auto;line-height:1.7;font-size:15px;\"><code>dnf update \"ea-php*\"\n\/scripts\/restartsrv_apache_php_fpm<\/code><\/pre>\n<h2 id=\"remove-versions-you-no-longer-use\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-angle-double-right\" style=\"color:#00D4FF;\"><\/i> Remove versions you no longer use<\/h2>\n<p style=\"margin:0 0 18px;\">Once no domain uses an old version, untick it in EasyApache 4. Fewer installed versions means fewer packages to patch. MultiPHP Manager shows whether any domain still uses a version before you remove it.<\/p>\n<h2 id=\"php-8-6\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-angle-double-right\" style=\"color:#00D4FF;\"><\/i> PHP 8.6<\/h2>\n<p style=\"margin:0 0 18px;\">PHP 8.6 is in the release-candidate stage and is not for production use. Wait for the final release, then test it on a staging copy first.<\/p>\n<div aria-hidden=\"true\" class=\"uh-section-divider\" style=\"width:min(100% - 32px, 1080px);margin:44px auto;display:grid;grid-template-columns:1fr 32px 1fr;align-items:center;gap:18px;pointer-events:none;\"><span style=\"height:1px;background:linear-gradient(90deg,transparent,rgba(0,212,255,0.40),rgba(23,110,165,0.24),transparent);\"><\/span><img alt=\"\" decoding=\"async\" height=\"32\" loading=\"lazy\" src=\"https:\/\/cdn.underhost.com\/android-chrome-192x192.webp\" style=\"width:32px;height:32px;display:block;border-radius:8px;filter:drop-shadow(0 0 14px rgba(0,212,255,0.30));\" width=\"32\"\/><span style=\"height:1px;background:linear-gradient(90deg,transparent,rgba(23,110,165,0.24),rgba(0,212,255,0.40),transparent);\"><\/span><\/div>\n<\/div>\n<div class=\"uh-blog-cta\" style=\"background:linear-gradient(135deg,#0D1F3C 0%,#125A8A 58%,#176EA5 100%);color:#ffffff;padding:36px 24px;border-radius:20px;text-align:center;margin:44px 0;box-shadow:0 20px 40px -15px rgba(13,31,60,0.32);\">\n<h2 style=\"margin:0 0 12px;font-size:28px;line-height:1.25;color:#ffffff;\">Need help with this?<\/h2>\n<p style=\"font-size:17px;margin:0 auto 22px;color:#EAF6FF;max-width:720px;line-height:1.7;\">Need help moving your sites to a supported PHP version? Our team can test and upgrade them for you.<\/p>\n<p><a href=\"https:\/\/underhost.com\/server-management.php\" style=\"background:linear-gradient(90deg,#00D4FF,#0077FF);color:#ffffff;padding:13px 28px;border-radius:10px;text-decoration:none;font-weight:800;display:inline-block;margin:8px;\">See server management plans<\/a><a href=\"https:\/\/customerpanel.ca\/client\/\" style=\"background:transparent;color:#ffffff;padding:12px 28px;border-radius:10px;text-decoration:none;font-weight:800;display:inline-block;margin:8px;border:1px solid rgba(255,255,255,0.32);\">Contact @CustomerPanel<\/a><\/div>\n<div class=\"uh-faq-section\" id=\"faq\" style=\"margin:34px 0;scroll-margin-top:90px;\">\n<h2 style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:0 0 18px;border-bottom:2px solid rgba(0,212,255,0.22);padding-bottom:10px;\">Frequently asked questions<\/h2>\n<div style=\"margin-top:18px;background:#F8FAFC;padding:18px 20px;border-radius:14px;border:1px solid rgba(23,110,165,0.14);\">\n<h3 style=\"color:#0D1F3C;margin:0 0 8px;font-size:19px;\">Which PHP versions are supported in October 2026?<\/h3>\n<p style=\"margin:0;color:#1F2937;line-height:1.7;\">PHP 8.5, 8.4, 8.3 and 8.2. PHP 8.2 reaches end of life on 31 December 2026, and 8.1 and older are already end of life.<\/p>\n<\/div>\n<div style=\"margin-top:18px;background:#F8FAFC;padding:18px 20px;border-radius:14px;border:1px solid rgba(23,110,165,0.14);\">\n<h3 style=\"color:#0D1F3C;margin:0 0 8px;font-size:19px;\">How do I change the PHP version of my site in cPanel?<\/h3>\n<p style=\"margin:0;color:#1F2937;line-height:1.7;\">Open MultiPHP Manager in cPanel, tick the domain, choose the version and click Apply. On CloudLinux, use Select PHP Version.<\/p>\n<\/div>\n<div style=\"margin-top:18px;background:#F8FAFC;padding:18px 20px;border-radius:14px;border:1px solid rgba(23,110,165,0.14);\">\n<h3 style=\"color:#0D1F3C;margin:0 0 8px;font-size:19px;\">Will upgrading PHP break my website?<\/h3>\n<p style=\"margin:0;color:#1F2937;line-height:1.7;\">It can, if the site uses code that the new version removed. Check your application&#8217;s requirements and test on a copy first.<\/p>\n<\/div>\n<div style=\"margin-top:18px;background:#F8FAFC;padding:18px 20px;border-radius:14px;border:1px solid rgba(23,110,165,0.14);\">\n<h3 style=\"color:#0D1F3C;margin:0 0 8px;font-size:19px;\">What happens when a PHP version reaches end of life?<\/h3>\n<p style=\"margin:0;color:#1F2937;line-height:1.7;\">It no longer receives security fixes, so new vulnerabilities stay open. Move your sites to a supported version.<\/p>\n<\/div>\n<div style=\"margin-top:18px;background:#F8FAFC;padding:18px 20px;border-radius:14px;border:1px solid rgba(23,110,165,0.14);\">\n<h3 style=\"color:#0D1F3C;margin:0 0 8px;font-size:19px;\">How do I install PHP 8.5 on cPanel?<\/h3>\n<p style=\"margin:0;color:#1F2937;line-height:1.7;\">In WHM, open EasyApache 4, customise the profile, tick ea-php85 under PHP Versions, add the extensions you need, and provision.<\/p>\n<\/div>\n<\/div>\n<p><!-- uh-related-start --><\/p>\n<div style=\"background:#F4F8FC;border:1px solid #DCE7F3;border-radius:14px;padding:18px 22px;margin:32px 0 8px;\">\n<h2 style=\"margin:0 0 12px;font-size:22px;\">Related guides<\/h2>\n<ul style=\"margin:0;padding-left:20px;\">\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/underhost.com\/blog\/how-to-manage-php-versions-using-cpanels-multiphp-manager\/\">How to Manage PHP Versions Using cPanel\u2019s MultiPHP Manager<\/a><\/li>\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/underhost.com\/blog\/php-security-release-october-2026-patch-guide\/\">PHP Critical Security Update (October 2026): Patch Guide, CloudLinux Status, CERT-EU Advice and Mitigations<\/a><\/li>\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/underhost.com\/blog\/how-to-optimize-php-performance-in-cpanel-with-multiphp-manager-cloudlinux-php-selector\/\">How to Optimize PHP Performance in cPanel with MultiPHP Manager &amp; CloudLinux PHP Selector<\/a><\/li>\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/underhost.com\/blog\/optimizing-php-performance-in-cloudlinux-with-php-selector-a-developers-guide\/\">Optimizing PHP Performance in CloudLinux with PHP Selector: A Developer&#8217;s Guide<\/a><\/li>\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/underhost.com\/blog\/optimizing-php-performance-in-cloudlinux-with-php-selector\/\">Optimizing PHP Performance in CloudLinux with PHP Selector<\/a><\/li>\n<\/ul>\n<\/div>\n<p><!-- uh-related-end --><br \/>\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Which PHP versions are supported in October 2026?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"PHP 8.5, 8.4, 8.3 and 8.2. PHP 8.2 reaches end of life on 31 December 2026, and 8.1 and older are already end of life.\"}}, {\"@type\": \"Question\", \"name\": \"How do I change the PHP version of my site in cPanel?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Open MultiPHP Manager in cPanel, tick the domain, choose the version and click Apply. On CloudLinux, use Select PHP Version.\"}}, {\"@type\": \"Question\", \"name\": \"Will upgrading PHP break my website?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"It can, if the site uses code that the new version removed. Check your application's requirements and test on a copy first.\"}}, {\"@type\": \"Question\", \"name\": \"What happens when a PHP version reaches end of life?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"It no longer receives security fixes, so new vulnerabilities stay open. Move your sites to a supported version.\"}}, {\"@type\": \"Question\", \"name\": \"How do I install PHP 8.5 on cPanel?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"In WHM, open EasyApache 4, customise the profile, tick ea-php85 under PHP Versions, add the extensions you need, and provision.\"}}]}<\/script><\/p>\n<h2 id=\"sources\" style=\"color:#0D1F3C;font-size:28px;line-height:1.25;margin:34px 0 14px;scroll-margin-top:90px;\"><i class=\"fas fa-book\" style=\"color:#00D4FF;\"><\/i> Sources<\/h2>\n<ul style=\"margin:0 0 24px;padding-left:22px;\">\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/www.php.net\/supported-versions.php\">PHP: supported versions<\/a><\/li>\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/docs.cpanel.net\/whm\/software\/multiphp-manager-for-whm\/\">cPanel documentation: MultiPHP Manager for WHM<\/a><\/li>\n<li style=\"margin:0 0 8px;\"><a href=\"https:\/\/docs.cpanel.net\/whm\/software\/easyapache-4\/\">cPanel documentation: EasyApache 4<\/a><\/li>\n<\/ul>\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":[3,202,81],"tags":[108,123,187,185,186,109],"class_list":["post-293","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-control-panels","category-cpanel-whm","category-hosting-guides","tag-tag-cpanel","tag-tag-domains","tag-easyapache","tag-php","tag-security-updates","tag-tag-whm"],"_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":17,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":6949,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/293\/revisions\/6949"}],"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}]}}