Our documentation is getting an overhaul! We would like your input! Click here to take a look at the beta launch of our new documentation site! Only cPanel & WHM version 82 documentation exists on our beta at this time. 84 will be added to the new site soon! Leave your feedback here: https://go.cpanel.net/docsfeedback
cPanel PHP Upgrade from PHP 7.2 to PHP 7.3 - cPanel Knowledge Base - cPanel Documentation
Page tree
Skip to end of metadata
Go to start of metadata

Overview

In cPanel & WHM version 84, we updated the internal PHP from version 7.2 to 7.3. This document details the update and the status of known issues.

We tested the internal PHP's compatibility with packaged applications, such as phpMyAdmin. However, third-party plugin developers must verify that their applications function in the new version.

Build information

  • Tier: NEXT 11.84.XXXX
  • Build Number: 11.84.XXXX.XX
  • Release Date: XX/XX/2019
  • Notes: None.

Upgrade details

Updated SoftwareInitial VersionUpgrade Version

PHP

Note:

For more information, read the PHP details section below.

7.27.3
Ion Cube10.210.2
Source Guardian11.211.3

PHP details 

Downgrades

You can downgrade from cPanel PHP version 7.3 back to cPanel PHP version 7.2. However, you must update the cPanel PHP and Horde settings in your local rpm.versions file to do so. To update these settings, run the following commands:

cd /usr/local/cpanel/
scripts/update_local_rpm_versions --edit target_settings.horde uninstalled
scripts/update_local_rpm_versions --edit target_settings.cpanel-php73 uninstalled
scripts/update_local_rpm_versions --edit target_settings.cpanel-php72 installed
scripts/update_local_rpm_versions --edit target_settings.horde72 installed
scripts/check_cpanel_rpms --fix

Directories

Specific references to the PHP directory or extensions must use the following directory:

/usr/local/cpanel/3rdparty/php/73/

Binaries

When you reference the PHP binaries, we recommend that you use the linked binaries in the following directory:

 /usr/local/cpanel/3rdparty/bin/

The php.ini file

Warning:

Exercise extreme caution when you make changes to the php.ini  file. Errors could result in non-functional PHP scripts. Only advanced users should edit this file.

Each PHP version has its own php.ini file. When you customize a php.ini  file, these edits do not transfer from one PHP version to another. When you upgrade to a new PHP version, you must edit the new version's php.ini  file to add your customizations. The file resides in the following directory:

 /usr/local/cpanel/3rdparty/php/73/etc

Additional documentation