cPanel PHP

Valid for versions 84 through the latest version

Version:

82

84


Overview

cPanel & WHM includes PHP 7.3 and its modules as a set of RPMs. 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.
Note:

These are cPanel & WHM’s PHP packages. To view EasyApache 4’s PHP packages, read our PHP Options documentation.

PHP modules

The PHP binary includes the following PHP modules:

  • bcmath
  • bz2
  • Core
  • ctype
  • curl
  • date
  • dom
  • ereg
  • fileinfo
  • filter
  • ftp
  • gd
  • gettext
  • hash
  • iconv
  • imap
  • json
  • libxml
  • mbstring
  • mcrypt
  • mysql
  • mysqli
  • openssl
  • pcntl
  • pcre
  • PDO
  • pdo_mysql
  • pdo_pgsql
  • pdo_sqlite
  • pgsql
  • Phar
  • posix
  • Reflection
  • session
  • SimpleXML
  • soap
  • sockets
  • SPL
  • sqlite3
  • standard
  • tidy
  • tokenizer
  • xml
  • xmlreader
  • xmlrpc
  • xmlwriter
  • zip
  • zlib

PEAR and PECL modules

cPanel & WHM includes the following PEAR and PECL modules:

  • Archive_Tar
  • Auth_SASL
  • Cache
  • Console_Color
  • Console_Getopt
  • Console_Table
  • DB
  • Date
  • Date_Holidays
  • Date_Holidays_Australia
  • Date_Holidays_Austria
  • Date_Holidays_Brazil
  • Date_Holidays_Croatia
  • Date_Holidays_Czech
  • Date_Holidays_Denmark
  • Date_Holidays_EnglandWales
  • Date_Holidays_Finland
  • Date_Holidays_Germany
  • Date_Holidays_Iceland
  • Date_Holidays_Ireland
  • Date_Holidays_Italy
  • Date_Holidays_Japan
  • Date_Holidays_Netherlands
  • Date_Holidays_Norway
  • Date_Holidays_PHPdotNet
  • Date_Holidays_Portugal
  • Date_Holidays_Romania
  • Date_Holidays_Russia
  • Date_Holidays_SanMarino
  • Date_Holidays_Serbia
  • Date_Holidays_Slovenia
  • Date_Holidays_Spain
  • Date_Holidays_Sweden
  • Date_Holidays_Turkey
  • Date_Holidays_UNO
  • Date_Holidays_USA
  • Date_Holidays_Ukraine
  • Date_Holidays_Venezuela
  • File
  • File_Find
  • File_Fstab
  • HTML_Template_IT
  • HTTP
  • HTTP_Request
  • HTTP_WebDAV_Server
  • Log
  • MDB2
  • Mail
  • Mail_Mime
  • Net_DNS2
  • Net_FTP
  • Net_IMAP
  • Net_SMTP
  • Net_Sieve
  • Net_Socket
  • Net_URL
  • Net_UserAgent_Detect
  • PEAR
  • PEAR_Command_Packaging
  • SOAP
  • Services_Weather
  • Structures_Graph
  • Text_Figlet
  • XML_Parser
  • XML_RPC
  • XML_SVG
  • XML_Serializer
  • XML_Util

PHP loaders

cPanel & WHM includes the following PHP loaders:

  • ioncube
  • sourceguardian

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 MySQL® and PostgreSQL® libraries. The /usr/local/cpanel/3rdparty file provides these libraries.