Page tree
Skip to end of metadata
Go to start of metadata

Overview

This document lists the PHP options available in EasyApache 4.  

Select the PHP extensions that you wish to use in WHM's EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4) or use yum. For more information about how to install a PHP package with yum, read our How to Locate and Install a PHP Version or Extension documentation. 

Note:

Use the  repoquery  command to determine which package installs a specific extension. Use the following command to run the query, where  ea-php56-php-mysqli represents the extension that you wish to install:

repoquery -q --whatprovides 'ea-php56-php-mysqli' | sort -V | tail -1

Opcode cachers

An opcode cacher improves the efficiency of your PHP applications, but also uses more memory. The following option installs an opcode cacher on your server: 

Opcode cacherPHP versionVendor
 5.45.55.67.07.17.2 
OPCache

Docs

Warnings:

  • EasyApache 4 does not currently support any opcode cacher other than OPCache.
  • Opcode caching programs are not compatible with the suPHP or CGI PHP handlers. The caching program either does not function, or functions incorrectly.
  • The system does not automatically configure OPCache. If you do not manually configure OPCache after you install it, it will provide no benefits.
  • We strongly recommend the DSO PHP handler for the OPCache opcode cacher.
  • Do not install multiple PHP caching programs on the same system. Multiple opcode caching programs consume excessive memory and degrade system performance.

PHP loaders or encoders

A PHP loader allows PHP to execute encoded applications. This ensures that others cannot access your code. You can use one of the following options to install a PHP loader on your web server: 

PHP encoderPHP versionVendor
 5.45.55.67.07.17.2 
SourceGuardian Loader

Docs
ionCube Loader 4

Docs
ionCube Loader 5

Docs
ionCube Loader 6

Docs
ionCube Loader 10

Docs
Zend Guard Loader

Docs

Notes:

  • The Apache information page incorrectly displays Zend Guard Loader as version 3.3. Your version of PHP determines the version of Zend Guard Loader that the system actually uses.
    • If you use PHP versions 5.5 or 5.6, EasyApache uses Zend Guard Loader version 7.0.
    • If you use PHP version 5.4, EasyApache uses Zend Guard Loader version 6.0.
  • The IonCube configuration file name varies based on the version of PHP that you use.
    • If you use PHP versions 5.4 or 5.5, IonCube uses the the ioncube.ini file.
    • If you use PHP version 5.6, IonCube uses the 01-ioncube.ini file.
  • You cannot use multiple versions of ionCube simultaneously.
  • EasyApache 4 uses SourceGuardian version 11.0.6 for PHP versions 5.6 and 7.0.
  • EasyApache 4 uses SourceGuardian version 11.0.5 for PHP versions 5.4 and 5.5.

PHP extensions

PHP provides many built-in extensions that allow you to add functionality to your PHP applications or your web server. 

Available PHP extensions

Note:

EasyApache adheres to the php.net supported versions timeline. The profiles that we supply in WHM's EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4only provide PHP versions that php.net currently supports. 

RPMs for unsupported versions of PHP will remain on the cPanel Inc. mirrors and servers, but we will not provide any further updates.

Module namePHP versionVendorDescriptioncPanel Default profileConflicts
 5.45.55.67.07.17.2    
bcmath

DocsArbitrary precision mathematics

 
bz2

DocsRead and write bzip2 (.bz2) compressed files

 
calendar

DocsCalendar date manipulation

 
ctype

DocsCheck character class

 
curl

Docs

Support for Curl (http, https, http/2, ftp, telnet)

Note:

You must install the mod_http2 Apache module for HTTP/2 support.

 
date

DocsGet the server date and time

 
dba

DocsAccess DB-style databases

 
dbg

DocsPHP debugger

 
dom

DocsDocument object module

 
enchant

DocsSpell check

 
ereg

DocsRegular expression match

 
exif

DocsParse image metadata

 
fileinfo

DocsContent/Encoding detection

 
filter

DocsFilter data by validating or sanitizing

 
fpm

DocsFastCGI Process Manager

 
ftp

DocsFTP (File Transfer Protocol) support

 
gd

DocsImage functions (.gif, .jpg, .png)

 
gettext

DocsNative language support API

 
gmp

DocsGNU multiple precision

 
hash

DocsMessage digest (hash) engine

 
iconv

DocsCharacter set conversion

 
imap

DocsMail functions (SMTP, POP3, IMAP)

recode
intl

DocsInternationalization support

 
json

DocsJavaScript Object Notation (JSON)

 
ldap

DocsLightweight directory access protocol

 
libxml

DocsXML library

 
litespeed

Docs

Litespeed SAPI

 
mbregex

DocsDisable mbregex support

 
mbstring

DocsEnhanced Chinese, Japanese, and other language support

 
mcrypt

Docs

Encryption support

Note:

In PHP 7.2 and later, the mcrypt module only exists as a PECL extension.

 
mhash

DocsInterface for the mhash library

 
mssql

DocsMSSQL® database access

 
mysql

DocsMySQL database access

 
mysqli

DocsMySQL improved database access

 
mysqlnd

Docs

MySQL native driver

Warning:

The mysqlnd module does not support old pre-MySQL 4.1 passwords. 

 
odbc

DocsUnified ODBC

 
openssl

DocsOpenSSL library interface

 
pcntl

DocsProcess control

 
pcre

DocsPerl-compatible regular expressions

 
pdo

DocsPDO database support

 
pdo mysql

DocsPDO MySQL support

 
pdo_odbc

DocsPDO ODBC support

 
pdo_pgsql

DocsPostgreSQL

 
pdo_sqlite

DocsEnable access to SQLite 3 databases

 
pgsql

DocsPostgreSQL DB support

 
phalcon

DocsPhalcon extension support

 
phar

DocsDisable Phar

 
posix

DocsExtended POSIX support

 
pspell

DocsSpell check

 
readline

DocsInterface for the GNU Readline library

 
recode

Docs

Interface for the GNU Recode library

imap
Reflection

DocsReverse-engineer classes, interfaces, functions, methods, and extensions

 
session

DocsSession support

 
shmop

DocsShared memory segments

 
SimpleXML

DocsSimpleXML support

 
snmp

DocsSNMP (Simple Network Management Protocol) support

 
soap

DocsSOAP server and client support

 
sockets

DocsRaw socket support

 
SPL

DocsStandard PHP library

 
sqlite3

DocsSQLite version 3 database support

 
suhosin

DocsImproves the security of PHP installations

 
sysvmsg

DocsSystem V messages support 

 
sysvsem

DocsSystem V semaphore support

 
sysvshm

DocsSystem V shared memory support

 
tidy

Docs

Tidy HTML formatter

 
tokenizer

DocsPHP tokenizer functionality

 
wddx

DocsWDDX support

 
xml

DocsXML support

 
xmlreader

DocsXML Pull parser

 
xmlrpc

DocsXMLRPC client and server support

 
xmlwriter

DocsXML writer extension

 
xsl

DocsXSL support

 
zip

DocsRead and write zip archives

 
zlib

DocsRead and write gzip archives

 

Additional documentation