{"id":767,"date":"2021-07-23T12:37:40","date_gmt":"2021-07-23T12:37:40","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/cpanel-php-upgrade-from-php-5-6-to-php-7-2\/"},"modified":"2021-07-23T12:37:40","modified_gmt":"2021-07-23T12:37:40","slug":"cpanel-php-upgrade-from-php-5-6-to-php-7-2","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/cpanel-php-upgrade-from-php-5-6-to-php-7-2\/","title":{"rendered":"cPanel PHP Upgrade from PHP 5.6 to PHP 7.2"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>In cPanel &#038; WHM version 76, we updated the internal PHP from version 5.6 to 7.2. This document contains details about the update and the status of known issues.<\/p>\n<p>We tested the internal PHP\u2019s compatibility with packaged applications, such as phpMyAdmin. However, third-party plugin developers must verify that their applications function in the new version.<\/p>\n<h2 id=\"build-information\">Build information<\/h2>\n<ul>\n<li><strong>Tier:<\/strong> EDGE 76<\/li>\n<li><strong>Build Number:<\/strong> 11.75.9999.199<\/li>\n<li><strong>Release Date:<\/strong> 9\/20\/2018<\/li>\n<li><strong>Notes:<\/strong> None.<\/li>\n<\/ul>\n<h2 id=\"upgrade-details\">Upgrade details<\/h2>\n<table>\n<thead>\n<tr>\n<th align=\"left\">Updated software<\/th>\n<th align=\"left\">Initial version<\/th>\n<th align=\"left\">Upgrade version<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\">PHP<\/td>\n<td align=\"left\">5.6<\/td>\n<td align=\"left\">7.2<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Ion Cube<\/td>\n<td align=\"left\">10.2<\/td>\n<td align=\"left\">10.2<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Source Guardian<\/td>\n<td align=\"left\">11.2<\/td>\n<td align=\"left\">11.3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"php-details\">PHP details<\/h2>\n<h3 id=\"downgrades\">Downgrades<\/h3>\n<p>We removed PHP 5.6 from cPanel &#038; WHM version 76, so downgrading from PHP 7.2 is not possible.<\/p>\n<h3 id=\"directories\">Directories<\/h3>\n<p>Specific references to the PHP directory or extensions <strong>must<\/strong> use the following directory:<\/p>\n<p><code>\/usr\/local\/cpanel\/3rdparty\/php\/72\/<\/code><\/p>\n<h3 id=\"binaries\">Binaries<\/h3>\n<p>When you reference the PHP binaries, we recommend that you use the linked binaries in the following directory:<\/p>\n<p><code>\/usr\/local\/cpanel\/3rdparty\/bin\/<\/code><\/p>\n<h3 id=\"the-php-ini-file\">The php.ini file<\/h3>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<p>Exercise <strong>extreme<\/strong> caution when you make changes to the <code>php.ini<\/code> file. Errors could result in non-functional PHP scripts. Only advanced users should edit this file.<\/p>\n<\/p><\/div>\n<\/div>\n<p>Each PHP version has its own <code>php.ini<\/code> file. When you customize a <code>php.ini<\/code> file, these edits do not transfer from one PHP version to another. When you upgrade to a new PHP version, you <strong>must<\/strong> edit the new version\u2019s <code>php.ini<\/code> file to add your customizations. The file resides in the following directory:<\/p>\n<p><code>\/usr\/local\/cpanel\/3rdparty\/php\/72\/etc<\/code><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview In cPanel &#038; WHM version 76, we updated the internal PHP from version 5.6 to 7.2. This document contains details about the update and the status of known issues. We tested the internal PHP\u2019s compatibility with packaged applications, such as phpMyAdmin. However, third-party plugin developers must verify that their applications function in the new &hellip;<\/p>\n","protected":false},"author":1,"featured_media":768,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/767"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=767"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/767\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/768"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}