Last modified: 2024 September 26
Overview
cPanel & WHM includes PHP 8.1 and its modules as a set of packages. This includes the associated PEAR and PECL packages and PHP loaders.
- PEAR and PECL packages are software components from the PHP Extension and Application Repository (PEAR) and the PHP Extension Community Library (PECL).
- A PHP loader allows PHP to execute encoded applications. Loaders ensure that others cannot access your PHP code.
These are cPanel & WHM’s internal PHP packages. To view EasyApache 4’s PHP packages, read our PHP Options documentation.
PHP modules
The PHP binary includes the following PHP modules:
bcmathbz2CorectypecurldatedomfileinfofilterftpgdgettexthashiconvimapintljsonldaplibxmlmbstringmysqlimysqlndopensslpcntlpcrePDOpdo_mysqlpdo_pgsqlpdo_sqlitepgsqlPharposixReflectionsessionSimpleXMLsoapsocketsSPLsqlite3standardsysvsemsysvshmtidytokenizerxmlxmlreaderxmlwriterxslzipzlib
PEAR and PECL modules
cPanel & WHM includes the following PEAR and PECL modules:
Auth_SASL2CacheConsole_ColorConsole_TableContentDateDate_HolidaysDate_Holidays_AustraliaDate_Holidays_AustriaDate_Holidays_BrazilDate_Holidays_CroatiaDate_Holidays_CzechDate_Holidays_DenmarkDate_Holidays_EnglandWalesDate_Holidays_FinlandDate_Holidays_GermanyDate_Holidays_IcelandDate_Holidays_IrelandDate_Holidays_ItalyDate_Holidays_JapanDate_Holidays_NetherlandsDate_Holidays_NorwayDate_Holidays_PHPdotNetDate_Holidays_PortugalDate_Holidays_RomaniaDate_Holidays_RussiaDate_Holidays_SanMarinoDate_Holidays_SerbiaDate_Holidays_SloveniaDate_Holidays_SpainDate_Holidays_SwedenDate_Holidays_TurkeyDate_Holidays_UkraineDate_Holidays_UNODate_Holidays_USADate_Holidays_VenezuelaFileFile_FindFile_FstabHTML_Template_ITHTTPHTTP_RequestHTTP_WebDAV_ServerLogMailMail_MimeMDB2Net_DNS2Net_FTPNet_IMAPNet_SMTPNet_SocketNet_URLNet_UserAgent_DetectPEAR_Command_PackagingServices_WeatherSOAPText_FigletXML_ParserXML_RPCXML_SerializerXML_SVG
Removed modules
We removed the following modules, which do not support PHP 8 or higher:
- All Horde-provided modules. For more information, read our cPanel Deprecation Plan documentation.
- The
Auth_SASLPEAR module. Use theAuth_SASL2PEAR module. - The
Console_GetOptPEAR module. - The
DB2PEAR module. Use theMDB2PEAR module. - The
xmlrpcPHP module. Use theXML_RPCPEAR module.
PHP loaders
cPanel & WHM includes the following PHP loaders:
ioncubesourceguardian
For more information about the cPanel PHP loader option, read the PHP section of our Tweak Settings documentation.
PHP and SQL libraries
The PHP binary links to both the PostgreSQL® and SQLite libraries.
The php.ini file
cPanel & WHM PHP uses a php.ini file to customize internal PHP settings.
- If you edit the cPanel & WHM
php.inifile directly, the system will overwrite your changes. Use the PHP section of the Tweak Settings interface (WHM » Home » Server Configuration » Tweak Settings) to retain changes to cPanel & WHM’sphp.inifile. - This file is not the EasyApache 4
php.inifile. To learn more about your EasyApache 4php.inifiles, read our About PHP documentation.