cPanel PHP Upgrade from PHP 7.3 to PHP 7.4
Last modified: July 13, 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: 184.108.40.206
- 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
cPanel & WHM PHP uses a
php.ini file to customize internal PHP settings. The file resides in the following directory:
- If you edit the cPanel & WHM
php.inifile directly, the system will overwrite your changes. Use the PHP section of the Tweak Settings interface to retain changes to cPanel & WHM’s
- This is the cPanel & WHM
php.inifile. For information on EasyApache 4’s
php.inifiles, read the EasyApache 4 section of our How to Edit Your php.ini File documentation.