We have a new documentation site for cPanel & WHM! You can find our new documentation site at docs.cpanel.net.

We will continue to maintain our API documentation on this server.

Page tree
Skip to end of metadata
Go to start of metadata

Overview

In cPanel & 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'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: EDGE 76
  • Build Number: 11.75.9999.199
  • Release Date: 9/20/2018
  • Notes: None.

Upgrade details

Updated SoftwareInitial VersionUpgrade Version

PHP

Note:

For more information, read the PHP details section below.

5.6 7.2
Ion Cube1010.2
Source Guardian11.211.3

PHP details

Downgrades

We removed PHP 5.6 from cPanel & WHM version 76, so downgrading from PHP 7.2 is not possible.

Directories

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

/usr/local/cpanel/3rdparty/php/72/

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/72/etc

Additional documentation

There is no content with the specified labels

Error rendering macro 'contentbylabel'

parameters should not be empty

There is no content with the specified labels