cPanel PHP Upgrade from PHP 5.6 to PHP 7.2
Last modified: December 9, 2019
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.
- Tier: EDGE 76
- Build Number: 11.75.9999.199
- Release Date: 9/20/2018
- Notes: None.
|Updated software||Initial version||Upgrade version|
We removed PHP 5.6 from cPanel & WHM version 76, so downgrading from PHP 7.2 is not possible.
Specific references to the PHP directory or extensions must use the following directory:
When you reference the PHP binaries, we recommend that you use the linked binaries in the following directory:
The php.ini file
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: