cPanel PHP Upgrade from PHP 7.3 to PHP 7.4
Last modified: February 11, 2022
In cPanel & WHM version 102, we upgraded internal cPanel PHP from version 7.3 to 7.4. This document details the upgrade and the PHP paths.
We tested internal cPanel PHP’s compatibility with packaged applications, such as phpMyAdmin.
Third-party plugin developers must verify that their applications function in the new version.
- Tier: NEXT 11.102.0
- Build Number: 22.214.171.124
- Release Date: 01/17/2022
- Notes: We now provide the oniguruma regular expression library to support multibyte (non-English) regular expressions. In PHP 7.3, this library was bundled as part of PHP.
The following table provides the initial and upgraded versions of internal cPanel PHP and its loaders:
|Software||Initial version||Upgrade version|
Third-party plugin developers should reference the proper paths for internal cPanel PHP 7.4.
Specific references to the PHP directory or extensions should use the following directory:
Specific references to PHP libraries or extensions should use the following directory:
Specific references to PHP binaries should 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: