Extensions

The table below lists the available PHP modules and PECL extensions in ZendPHP, with corresponding operating systems, versions, and package name.

For further information on installing, configuring, and working with extension directives, please see the PHP Manual.

Module

Debian/Ubuntu(1)

CentOS/RHEL(2)

IBM i(3)

Windows(10)

apache2handler (SAPI)

libapache2-mod-php{VERSION}-zend php{VERSION}zend-php php{VERSION}zend built-in
apcu php{VERSION}-zend-apcu php{VERSION}zend-php-pecl-apcu php{VERSION}zend-php-pecl-apcu standard; php_bz2
bcmath php{VERSION}-zend-bcmath php{VERSION}zend-php-bcmath php{VERSION}zend-php-bcmath built-in

bz2

php{VERSION}-zend-bz2 php{VERSION}zend-php-common php{VERSION}zend-php-common N/A

calendar

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in

cgi (SAPI)

php{VERSION}-zend-cgi php{VERSION}zend-php-cli php{VERSION}zend built-in
cli (SAPI) php{VERSION}-zend-cli php{VERSION}zend-php-cli php{VERSION}zend-php-cli built-in

com_dotnet (4)

N/A N/A N/A standard; php_com_dotnet

ctype

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in

curl

php{VERSION}-zend-curl php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_curl

date

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in
dba php{VERSION}-zend-dba php{VERSION}zend-php-dba N/A N/A

dom

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml built-in

enchant

php{VERSION}-zend-enchant php{VERSION}zend-php-enchant(8) N/A standard; php_enchant

exif

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_exif
ffi(5) php{VERSION}-zend-common php{VERSION}zend-php-ffi N/A standard; php_ffi

fileinfo

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_fileinfo

filter

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in
fpm (SAPI) php{VERSION}-zend-fpm php{VERSION}zend-php-fpm php{VERSION}zend-php-fpm built-in

ftp

php{VERSION}-zend-common php{VERSION}zend-php-ftp(8) php{VERSION}zend-php-common standard; php_ftp

gd(6)

php{VERSION}-zend-gd php{VERSION}zend-php-gd php{VERSION}zend-php-gd standard; php_gd2

gettext

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_gettext
gmp php{VERSION}-zend-gmp php{VERSION}zend-php-gmp php{VERSION}zend-php-gmp standard; php_gmp

hash

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in
ibm_db2(7) N/A N/A php{VERSION}zend-php-pecl-ibm-db2 N/A

iconv

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in
igbinary php{VERSION}-zend-igbinary php{VERSION}zend-php-pecl-igbinary php{VERSION}zend-php-pecl-igbinary PECL; zendphp-igbinary-latest- {VERSION}; php_igbinary
imagick php{VERSION}-zend-imagick(10) php{VERSION}zend-php-pecl-imagick php{VERSION}zend-php-pecl-imagick PECL; zendphp-imagick-latest- {VERSION}; php_imagick

imap

php{VERSION}-zend-imap php{VERSION}zend-php-imap php{VERSION}zend-php-imap standard; php_imap
interbase php{VERSION}-zend-interbase N/A N/A N/A

intl

php{VERSION}-zend-intl php{VERSION}zend-php-intl php{VERSION}zend-php-intl standard; php_intl

json

php{VERSION}-zend-(json / common)(9) php{VERSION}zend-php-(json / common)(9) php{VERSION}zend-php-common built-in

ldap

php{VERSION}-zend-ldap php{VERSION}zend-php-ldap php{VERSION}zend-php-ldap standard; php_ldap

libxml

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in
litespeed N/A php{VERSION}zend-php-litespeed N/A N/A

mbstring

php{VERSION}-zend-mbstring php{VERSION}zend-php-mbstring php{VERSION}zend-php-mbstring standard; php_mbstring(11)
memcached php{VERSION}-zend-memcached(10) php{VERSION}zend-php-pecl-memcached(8) N/A PECL; zendphp-memcache-latest- {VERSION}; php_memcache
mongodb php{VERSION}-zend-mongodb php{VERSION}zend-php-pecl-mongodb php{VERSION}zend-php-pecl-mongodb PECL; zendphp-mongodb-latest- {VERSION}; php_mongodb

msgpack

php{VERSION}-zend-msgpack php{VERSION}zend-php-pecl-msgpack TBD N/A

mysqli

php{VERSION}-zend-mysql php{VERSION}zend-php-mysqlnd php{VERSION}zend-php-mysqlnd standard; php_mysqli

mysqlnd

php{VERSION}-zend-mysql php{VERSION}zend-php-mysqlnd php{VERSION}zend-php-mysqlnd built-in
oauth php{VERSION}-zend-oauth php{VERSION}zend-php-pecl-oauth php{VERSION}zend-php-pecl-oauth N/A

oci8

php{VERSION}-zend-oci8 php{VERSION}zend-php-oci8 TBD standard; php_oci8
odbc php{VERSION}-zend-odbc php{VERSION}zend-php-odbc php{VERSION}zend-php-odbc standard; php_odbc
opcache php{VERSION}-zend-opcache php{VERSION}zend-php-opcache php{VERSION}zend-php-opcache standard; php_opcache

openssl

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_oopenssl
pcntl php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common N/A

pcre

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in

PDO

php{VERSION}-zend-common php{VERSION}zend-php-pdo php{VERSION}zend-php-common built-in
pdo_dblib N/A php{VERSION}zend-php-pdo-dblib php{VERSION}zend-php-pdo-dblib N/A

pdo_mysql

php{VERSION}-zend-mysql php{VERSION}zend-php-mysqlnd php{VERSION}zend-php-mysqlnd built-in
pdo_odbc php{VERSION}-zend-odbc php{VERSION}zend-php-odbc php{VERSION}zend-php-odbc standard; php_pdo_odbc

pdo_pgsql

php{VERSION}-zend-pgsql php{VERSION}zend-php-pgsql php{VERSION}zend-php-pgsql standard; php_pdo_pgsql

pdo_sqlite

php{VERSION}-zend-sqlite3 php{VERSION}zend-php-pdo php{VERSION}zend-php-common standard; php_pdo_sqlite
pdo_sqlsrv N/A N/A N/A standard; php_pdo_sqlsrv

pgsql

php{VERSION}-zend-pgsql php{VERSION}zend-php-pgsql php{VERSION}zend-php-pgsql standard; php_pgsql

phar

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_phar
phpdbg (SAPI)(8) php{VERSION}-zend-phpdbg php{VERSION}zend-php-dbg N/A N/A

posix

php{VERSION}-zend-common php{VERSION}zend-php-process php{VERSION}zend-php-process N/A
pspell php{VERSION}-zend-pspell php{VERSION}zend-php-pspell php{VERSION}zend-php-pspell N/A
readline php{VERSION}-zend-readline php{VERSION}zend-php-common php{VERSION}zend-php-readline built-in
redis php{VERSION}-zend-redis php{VERSION}zend-php-pecl-redis5 php{VERSION}zend-php-pecl-redis PECL; zendphp-redis-latest-{VERSION}; php_redis

Reflection

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in

session

php{VERSION}-zend-session php{VERSION}zend-php-common php{VERSION}zend-php-common built-in
shmop php{VERSION}-zend-common php{VERSION}zend-php-process php{VERSION}zend-php-process standard; php_shmop

SimpleXML

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml built-in
snmp N/A php{VERSION}zend-php-snmp N/A standard; php_snmp

soap

php{VERSION}-zend-soap php{VERSION}zend-php-soap php{VERSION}zend-php-soap standard; php_soap

sockets

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_sockets
sodium php{VERSION}-zend-common php{VERSION}zend-php-sodium php{VERSION}zend-php-common standard; php_sodium(12)

SPL

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in

sqlite3

php{VERSION}-zend-sqlite3 php{VERSION}zend-php-pdo php{VERSION}zend-php-common standard; php_sqlite3
sqlsrv N/A N/A N/A standard; php_sqlsrv
ssh2 php{VERSION}-zend-ssh2 php{VERSION}zend-php-pecl-ssh2 php{VERSION}zend-php-pecl-ssh2 standard; php_ssh2

sybase

php{VERSION}-zend-sybase N/A N/A N/A
sysvmsg php{VERSION}-zend-common php{VERSION}zend-php-process php{VERSION}zend-php-process N/A
sysvsem php{VERSION}-zend-common php{VERSION}zend-php-process php{VERSION}zend-php-process N/A
sysvshm php{VERSION}-zend-common php{VERSION}zend-php-process php{VERSION}zend-php-process standard; php_sysvshm

tidy

php{VERSION}-zend-tidy php{VERSION}zend-php-tidy php{VERSION}zend-php-tidy standard; php_tidy

tokenizer

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common standard; php_tokenizer
wddx(4) N/A N/A N/A standard; php_wddx(13)

win32service(4)

N/A N/A N/A PECL; zendphp-win32service-latest- {VERSION}; php_win32service
xdebug php{VERSION}-zend-xdebug php{VERSION}zend-php-pecl-xdebug php{VERSION}zend-php-pecl-xdebug PECL; zendphp-xdebug-latest-{VERSION}; php_xdebug

xml

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml built-in

xmlreader

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml built-in
xmlrpc php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml standard; php_xmlrpc(14)

xmlwriter

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml built-in

xsl

php{VERSION}-zend-xml php{VERSION}zend-php-xml php{VERSION}zend-php-xml standard; php_xsl

zip

php{VERSION}-zend-zip php{VERSION}zend-php-zip php{VERSION}zend-php-zip built-in

zlib

php{VERSION}-zend-common php{VERSION}zend-php-common php{VERSION}zend-php-common built-in
Zmail(9) N/A N/A php{VERSION}zend-php-common N/A

(1) We support Debian 9 and 10, and Ubuntu 16.04, 18.04, and 20.04. Substitute the appropriate PHP minor version (e.g., "5.6", "7.1", "7.4") for {VERSION}.

(2) We support versions 6, 7, and 8 of RHEL and CentOS. Substitute the appropriate PHP minor version MINUS the "." separator (e.g., "56", "71", "74") for {VERSION}.

(3) For IBM i packages, substitute the appropriate PHP minor version MINUS the . separator (e.g., "56", "71", "74") for {VERSION}.

(4) The com_dotnet, WinCache, and win32service extensions are only available in Windows builds.

(5) The FFI extension is only available in PHP 7.4 and later.

(6) The GD extension is compiled with JPEG, PNG, and Freetype support.

(7) The ibm_db2 extension is compiled for IBM i builds only.

(8) The phpdbg extension is only available in PHP 7 versions.

(9) The ZMail extension is specific to IBM i builds, and used to provide mail sending capabilities.

(10) We support Windows 10, 11, and Server 2019. Only PHP 7.1 and later are provided for Windows. Substitute the appropriate PHP minor version (e.g., "7.1", "7.4", "8.1") for {VERSION}. Values are one of:

  • N/A: not available
  • built-in: built-in and available without any extra configuration
  • standard: provided in the standard download but requiring enablement via an extension = directive; format is "standard; {extension name}"; e.g., "standard; php_xsl".
  • PECL: PECL package needing download and enablement via an extension = directive; format is "PECL; {package name}; {extension name}"; e.g., "PECL, zendphp-redis-latest-{VERSION}; php_redis". (Package files have additional suffixes; see the Windows installation documentation for details.)

(11) The mbstring extension on Windows is compiled against libmfl instead of onigaruma. As such, it does not support the various mb_ereg*() functions.

(12) The sodium extension on Windows is bundled for PHP 7.2 and up. 7.1 users need to download the PECL extension with package name "zendphp-sodium-latest-7.1".

(13) The wddx extension on Windows is only available for PHP 7.3 and below.

(14) The XML-RPC extension on Windows is only available for PHP 7.4 and below.