{"id":769,"date":"2021-07-23T12:37:43","date_gmt":"2021-07-23T12:37:43","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/cpanel-php-upgrade-from-php-7-2-to-php-7-3\/"},"modified":"2021-07-23T12:37:43","modified_gmt":"2021-07-23T12:37:43","slug":"cpanel-php-upgrade-from-php-7-2-to-php-7-3","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/cpanel-php-upgrade-from-php-7-2-to-php-7-3\/","title":{"rendered":"cPanel PHP Upgrade from PHP 7.2 to PHP 7.3"},"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 84, we upgraded the internal PHP from version 7.2 to 7.3. This document details the upgrade 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> NEXT 11.84.XXXX<\/li>\n<li><strong>Build Number:<\/strong> 11.84.XXXX.XX<\/li>\n<li><strong>Release Date:<\/strong> 9\/XX\/2019<\/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\">7.2<\/td>\n<td align=\"left\">7.3<\/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<h3 id=\"php-details\">PHP details<\/h3>\n<h4 id=\"downgrades\">Downgrades<\/h4>\n<p>You can downgrade from cPanel PHP version 7.3 back to cPanel PHP version 7.2. However, you <strong>must<\/strong> update the cPanel PHP and Horde settings in your local <code>rpm.versions<\/code> file to do so. To update these settings, run the following commands:<\/p>\n<div class=\"highlight\">\n<div style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\">\n<table style=\"border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;\">\n<tr>\n<td style=\"vertical-align:top;padding:0;margin:0;border:0;\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-go\" data-lang=\"go\"><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">1\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">2\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">3\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">4\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">5\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">6\n<\/span><\/code><\/pre>\n<\/td>\n<td style=\"vertical-align:top;padding:0;margin:0;border:0;;width:100%\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-go\" data-lang=\"go\"><span style=\"color:#a6e22e\">cd<\/span> <span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">usr<\/span><span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">local<\/span><span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">cpanel<\/span><span style=\"color:#f92672\">\/<\/span>\n<span style=\"color:#a6e22e\">scripts<\/span><span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">update_local_rpm_versions<\/span> <span style=\"color:#f92672\">--<\/span><span style=\"color:#a6e22e\">edit<\/span> <span style=\"color:#a6e22e\">target_settings<\/span>.<span style=\"color:#a6e22e\">horde<\/span> <span style=\"color:#a6e22e\">uninstalled<\/span>\n<span style=\"color:#a6e22e\">scripts<\/span><span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">update_local_rpm_versions<\/span> <span style=\"color:#f92672\">--<\/span><span style=\"color:#a6e22e\">edit<\/span> <span style=\"color:#a6e22e\">target_settings<\/span>.<span style=\"color:#a6e22e\">cpanel<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#a6e22e\">php73<\/span> <span style=\"color:#a6e22e\">uninstalled<\/span>\n<span style=\"color:#a6e22e\">scripts<\/span><span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">update_local_rpm_versions<\/span> <span style=\"color:#f92672\">--<\/span><span style=\"color:#a6e22e\">edit<\/span> <span style=\"color:#a6e22e\">target_settings<\/span>.<span style=\"color:#a6e22e\">cpanel<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#a6e22e\">php72<\/span> <span style=\"color:#a6e22e\">installed<\/span>\n<span style=\"color:#a6e22e\">scripts<\/span><span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">update_local_rpm_versions<\/span> <span style=\"color:#f92672\">--<\/span><span style=\"color:#a6e22e\">edit<\/span> <span style=\"color:#a6e22e\">target_settings<\/span>.<span style=\"color:#a6e22e\">horde72<\/span> <span style=\"color:#a6e22e\">installed<\/span>\n<span style=\"color:#a6e22e\">scripts<\/span><span style=\"color:#f92672\">\/<\/span><span style=\"color:#a6e22e\">check_cpanel_rpms<\/span> <span style=\"color:#f92672\">--<\/span><span style=\"color:#a6e22e\">fix<\/span><\/code><\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/div>\n<h4 id=\"directories\">Directories<\/h4>\n<p>Specific references to the PHP directory or extensions must use the following directory:<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">\/usr\/local\/cpanel\/3rdparty\/php\/73\/<\/code><\/pre>\n<\/div>\n<h4 id=\"binaries\">Binaries<\/h4>\n<p>When you reference the PHP binaries, we recommend that you use the linked binaries in the following directory:<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">\/usr\/local\/cpanel\/3rdparty\/php\/<\/code><\/pre>\n<\/div>\n<h4 id=\"the-php-ini-file\">The php.ini file<\/h4>\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<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-bash\" data-lang=\"bash\">\/usr\/local\/cpanel\/3rdparty\/php\/73\/etc<\/code><\/pre>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview In cPanel &#038; WHM version 84, we upgraded the internal PHP from version 7.2 to 7.3. This document details the upgrade 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 version. Build &hellip;<\/p>\n","protected":false},"author":1,"featured_media":770,"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\/769"}],"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=769"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/769\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/770"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}